Package org.openwms.common.comm.osip.err
Class ErrorMessageServiceActivator
java.lang.Object
org.openwms.common.comm.osip.err.ErrorMessageServiceActivator
- All Implemented Interfaces:
 org.openwms.common.comm.CustomServiceActivator,org.openwms.common.comm.NotRespondingServiceActivator<ErrorMessage>
@OSIP
@MessageEndpoint("errormessageServiceActivator")
class ErrorMessageServiceActivator
extends Object
implements org.openwms.common.comm.NotRespondingServiceActivator<ErrorMessage>
A ErrorMessageServiceActivator implements the Service Activator pattern and delegates
 incoming 
ErrorMessages 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<ErrorMessage>, Void> (package private) static final StringThe name of the MessageChannel used as input-channel of this message processor. - 
Constructor Summary
ConstructorsConstructorDescriptionErrorMessageServiceActivator(Function<org.springframework.messaging.support.GenericMessage<ErrorMessage>, Void> handler, org.springframework.context.ApplicationContext ctx)  - 
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.messaging.MessageChannelvoidwakeUp(org.springframework.messaging.support.GenericMessage<ErrorMessage> 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<ErrorMessage>,Void> handler - 
ctx
private final org.springframework.context.ApplicationContext ctx 
 - 
 - 
Constructor Details
- 
ErrorMessageServiceActivator
ErrorMessageServiceActivator(Function<org.springframework.messaging.support.GenericMessage<ErrorMessage>, Void> handler, org.springframework.context.ApplicationContext ctx)  
 - 
 - 
Method Details
- 
wakeUp
@OSIP @Measured @ServiceActivator(inputChannel="ERR_MessageInputChannel") public void wakeUp(org.springframework.messaging.support.GenericMessage<ErrorMessage> message) - Specified by:
 wakeUpin interfaceorg.openwms.common.comm.NotRespondingServiceActivator<ErrorMessage>
 - 
getChannel
public org.springframework.messaging.MessageChannel getChannel()- Specified by:
 getChannelin interfaceorg.openwms.common.comm.CustomServiceActivator
 - 
getChannelName
- Specified by:
 getChannelNamein interfaceorg.openwms.common.comm.CustomServiceActivator
 
 -