Class AmqpSystemUpdateMessageHandler
java.lang.Object
org.openwms.common.comm.osip.sysu.AmqpSystemUpdateMessageHandler
- All Implemented Interfaces:
Function<org.springframework.messaging.support.GenericMessage<SystemUpdateMessage>,
Void>
@Profile("ASYNCHRONOUS")
@OSIPComponent
@RefreshScope
class AmqpSystemUpdateMessageHandler
extends Object
implements Function<org.springframework.messaging.support.GenericMessage<SystemUpdateMessage>,Void>
A AmqpSystemUpdateMessageHandler.
- Author:
- Heiko Scherrer
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAmqpSystemUpdateMessageHandler
(org.springframework.amqp.core.AmqpTemplate amqpTemplate, String exchangeName, String routingKey) -
Method Summary
Modifier and TypeMethodDescriptionapply
(org.springframework.messaging.support.GenericMessage<SystemUpdateMessage> msg)
-
Field Details
-
amqpTemplate
private final org.springframework.amqp.core.AmqpTemplate amqpTemplate -
exchangeName
-
routingKey
-
-
Constructor Details
-
AmqpSystemUpdateMessageHandler
-
-
Method Details
-
apply
- Specified by:
apply
in interfaceFunction<org.springframework.messaging.support.GenericMessage<SystemUpdateMessage>,
Void>
-