Package org.openwms.common.comm.osip.req
Class RequestMessageServiceActivator
java.lang.Object
org.openwms.common.comm.osip.req.RequestMessageServiceActivator
- All Implemented Interfaces:
 org.openwms.common.comm.CustomServiceActivator,org.openwms.common.comm.NotRespondingServiceActivator<RequestMessage>
@OSIP
@MessageEndpoint("requestmessageServiceActivator")
class RequestMessageServiceActivator
extends Object
implements org.openwms.common.comm.NotRespondingServiceActivator<RequestMessage>
A RequestMessageServiceActivator implements the Service Activator pattern and delegates
 incoming 
RequestMessages to the appropriate handler function.- Author:
 - Heiko Scherrer
 
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.springframework.context.ApplicationContextprivate final Function<org.springframework.messaging.support.GenericMessage<RequestMessage>, Void> (package private) static final StringThe name of the MessageChannel used as input-channel of this message processor. - 
Constructor Summary
ConstructorsConstructorDescriptionRequestMessageServiceActivator(Function<org.springframework.messaging.support.GenericMessage<RequestMessage>, Void> handler, org.springframework.context.ApplicationContext ctx)  - 
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.messaging.MessageChannelvoidwakeUp(org.springframework.messaging.support.GenericMessage<RequestMessage> message)  
- 
Field Details
- 
INPUT_CHANNEL_NAME
The name of the MessageChannel used as input-channel of this message processor.- See Also:
 
 - 
handler
private final Function<org.springframework.messaging.support.GenericMessage<RequestMessage>,Void> handler - 
ctx
private final org.springframework.context.ApplicationContext ctx 
 - 
 - 
Constructor Details
- 
RequestMessageServiceActivator
RequestMessageServiceActivator(Function<org.springframework.messaging.support.GenericMessage<RequestMessage>, Void> handler, org.springframework.context.ApplicationContext ctx)  
 - 
 - 
Method Details
- 
wakeUp
@Measured @OSIP @ServiceActivator(inputChannel="REQ_MessageInputChannel") public void wakeUp(org.springframework.messaging.support.GenericMessage<RequestMessage> message) - Specified by:
 wakeUpin interfaceorg.openwms.common.comm.NotRespondingServiceActivator<RequestMessage>
 - 
getChannel
public org.springframework.messaging.MessageChannel getChannel()- Specified by:
 getChannelin interfaceorg.openwms.common.comm.CustomServiceActivator
 - 
getChannelName
- Specified by:
 getChannelNamein interfaceorg.openwms.common.comm.CustomServiceActivator
 
 -