@Component public class TriggerExecutionMessageSender extends Object
| Constructor and Description |
|---|
TriggerExecutionMessageSender(String queue,
org.qubership.atp.multitenancy.interceptor.jms.AtpJmsTemplate executorJmsTemplate)
Constructor for
TriggerExecutionMessageSender. |
| Modifier and Type | Method and Description |
|---|---|
static void |
send(org.qubership.automation.itf.core.model.communication.message.TriggerExecutionMessage message,
Object tenantId)
Send message with added X_PROJECT_ID header.
|
@Autowired
public TriggerExecutionMessageSender(@Value(value="${message-broker.stubs-executor-incoming-request.queue}")
String queue,
org.qubership.atp.multitenancy.interceptor.jms.AtpJmsTemplate executorJmsTemplate)
TriggerExecutionMessageSender.queue - The name of the queue for incoming requests to the stubs executor.executorJmsTemplate - The JMS template for execution.public static void send(org.qubership.automation.itf.core.model.communication.message.TriggerExecutionMessage message,
Object tenantId)
message - - message to send,tenantId - - tenantId (project Uuid).Copyright © 2025. All rights reserved.