public class CheckMessageVersionHandler extends AbstractMessageHandler
| Modifier and Type | Field and Description |
|---|---|
private boolean |
ignoreMissingOrUnrecognized
Flag controlling handling of missing or unrecognized messages.
|
private org.slf4j.Logger |
log
Class logger.
|
| Constructor and Description |
|---|
CheckMessageVersionHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doInvoke(MessageContext messageContext)
Performs the handler logic.
|
void |
setIgnoreMissingOrUnrecognized(boolean flag)
Set whether to ignore cases where a message does not exist or is not recognized.
|
doPostInvoke, doPostInvoke, doPreInvoke, getLogPrefix, invokedestroy, doDestroy, doInitialize, initialize, isDestroyed, isInitialized@Nonnull private final org.slf4j.Logger log
private boolean ignoreMissingOrUnrecognized
public void setIgnoreMissingOrUnrecognized(boolean flag)
flag - flag to setprotected void doInvoke(@Nonnull
MessageContext messageContext)
throws MessageHandlerException
doInvoke in class AbstractMessageHandlermessageContext - the message context on which to invoke the handlerMessageHandlerException - if there is an error invoking the handler on the message context