@Component public class StubJmsListeners extends Object
| Constructor and Description |
|---|
StubJmsListeners(TriggerServiceFactory triggerServiceFactory,
com.fasterxml.jackson.databind.ObjectMapper jmsMessageConverterObjectMapper,
org.qubership.automation.itf.core.util.eds.ExternalDataManagementService externalDataManagementService,
ThreadPoolProvider threadPoolProvider)
Constructor using earlier initialized beans.
|
| Modifier and Type | Method and Description |
|---|---|
void |
onConfiguratorStubsMessage(org.apache.activemq.command.ActiveMQTextMessage message)
On receive trigger configuration (activate, deactivate, sync) messages.
|
void |
onExecutorStubsOutgoingResponseMessage(org.apache.activemq.command.ActiveMQTextMessage activeMqTextMessage)
On receive responses prepared by itf-executor.
|
void |
onExternalDataStorageUpdateMessage(org.apache.activemq.command.ActiveMQTextMessage activeMqTextMessage)
On receive messages about uploaded files.
|
@Autowired public StubJmsListeners(TriggerServiceFactory triggerServiceFactory, @Qualifier(value="jmsMessageConverterObjectMapper") com.fasterxml.jackson.databind.ObjectMapper jmsMessageConverterObjectMapper, org.qubership.automation.itf.core.util.eds.ExternalDataManagementService externalDataManagementService, ThreadPoolProvider threadPoolProvider)
@JmsListener(destination="${message-broker.configurator-stubs.topic}",
containerFactory="stubsTopicJmsListenerContainerFactory")
public void onConfiguratorStubsMessage(org.apache.activemq.command.ActiveMQTextMessage message)
message - - AMQ message with "type" parameter and two types of actions.
1. "sync" (update action)
Bulk action to reactivate/deactivate list of triggers for System-Server (After click on save
button on UI).
2. activate\deactivate\turn off actions for one certainly trigger or whole environment.@JmsListener(destination="${message-broker.executor-stubs-outgoing-response.queue}",
containerFactory="stubsQueueJmsListenerContainerFactory",
selector="hostname=\'${hostname}\'")
@AtpJaegerLog
public void onExecutorStubsOutgoingResponseMessage(org.apache.activemq.command.ActiveMQTextMessage activeMqTextMessage)
@JmsListener(destination="${message-broker.eds-update.topic}",
containerFactory="stubsTopicJmsListenerContainerFactory")
public void onExternalDataStorageUpdateMessage(org.apache.activemq.command.ActiveMQTextMessage activeMqTextMessage)
Copyright © 2025. All rights reserved.