
public abstract class AbstractMessageInterceptor extends AbstractInterceptor<MessagingTarget> implements MessageInterceptor
Extension.InitPriorityComparator, Extension.ShutdownPriorityComparatorDEFAULT_INIT_PRIORITY, DEFAULT_SHUTDOWN_PRIORITY| Constructor and Description |
|---|
AbstractMessageInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
InterceptorResult |
after(Message message,
MessageResult messageResult,
ExecutionContext executionContext)
Run after a message is executed.
|
InterceptorResult |
before(Message message,
MessageResult messageResult,
ExecutionContext executionContext)
Run before a message is executed.
|
clearDisabled, clearDisabledForMessage, clearDisabledForMessageEnvelope, clearDisabledForOperation, getInitPriority, getShutdownPriority, init, setDisabled, setDisabledForMessage, setDisabledForMessageEnvelope, setDisabledForOperation, shutdown, skipclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclearDisabled, clearDisabledForMessage, clearDisabledForMessageEnvelope, clearDisabledForOperation, getInitPriority, getShutdownPriority, init, setDisabled, setDisabledForMessage, setDisabledForMessageEnvelope, setDisabledForOperation, shutdown, skippublic InterceptorResult before(Message message, MessageResult messageResult, ExecutionContext executionContext) throws Xdi2MessagingException
MessageInterceptorbefore in interface MessageInterceptormessage - The message to process.messageResult - The message result.executionContext - The current execution context.Xdi2MessagingExceptionpublic InterceptorResult after(Message message, MessageResult messageResult, ExecutionContext executionContext) throws Xdi2MessagingException
MessageInterceptorafter in interface MessageInterceptormessage - The message to process.messageResult - The message result.executionContext - The current execution context.Xdi2MessagingExceptionCopyright © 2015. All Rights Reserved.