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