Class AmqpLocationUpdateMessageHandler
java.lang.Object
org.openwms.common.comm.osip.locu.AmqpLocationUpdateMessageHandler
- All Implemented Interfaces:
 Function<org.springframework.messaging.support.GenericMessage<LocationUpdateMessage>,Void> 
@Profile("ASYNCHRONOUS")
@OSIPComponent
@RefreshScope
class AmqpLocationUpdateMessageHandler
extends Object
implements Function<org.springframework.messaging.support.GenericMessage<LocationUpdateMessage>,Void> 
An AmqpLocationUpdateMessageHandler is the handler function to accept 
LocationUpdateMessages
 and forward them for processing over AMQP.- Author:
 - Heiko Scherrer
 
- 
Field Summary
Fields - 
Constructor Summary
ConstructorsConstructorDescriptionAmqpLocationUpdateMessageHandler(org.springframework.amqp.core.AmqpTemplate amqpTemplate, String exchangeName, String routingKey)  - 
Method Summary
Modifier and TypeMethodDescriptionapply(org.springframework.messaging.support.GenericMessage<LocationUpdateMessage> msg)  
- 
Field Details
- 
amqpTemplate
private final org.springframework.amqp.core.AmqpTemplate amqpTemplate - 
exchangeName
 - 
routingKey
 
 - 
 - 
Constructor Details
- 
AmqpLocationUpdateMessageHandler
 
 - 
 - 
Method Details
- 
apply
- Specified by:
 applyin interfaceFunction<org.springframework.messaging.support.GenericMessage<LocationUpdateMessage>,Void> 
 
 -