Package org.openwms.common.comm.osip.err
Class FallbackServiceActivator
java.lang.Object
org.openwms.common.comm.osip.err.FallbackServiceActivator
@OSIP
@MessageEndpoint("errorServiceActivator")
public class FallbackServiceActivator
extends Object
A FallbackServiceActivator takes all other telegrams not defined and not mapped to any
specific channel and publishes an OSIP ERR message.
- Author:
- Heiko Scherrer
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReply to incoming OSIP telegrams on the inputChannel with anErrorMessage
o the outputChannel.
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER
-
-
Constructor Details
-
FallbackServiceActivator
public FallbackServiceActivator()
-
-
Method Details
-
handle
@Measured @OSIP @ServiceActivator(inputChannel="commonExceptionChannel", outputChannel="outboundChannel") public ErrorMessage handle(String telegram) Reply to incoming OSIP telegrams on the inputChannel with anErrorMessage
o the outputChannel.- Parameters:
telegram
- The incoming OSIP telegram- Returns:
- An
ErrorMessage
-