
public interface MessageInterceptor extends Interceptor<MessagingTarget>
Extension.InitPriorityComparator, Extension.ShutdownPriorityComparator| 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, skipInterceptorResult before(Message message, MessageResult messageResult, ExecutionContext executionContext) throws Xdi2MessagingException
message - The message to process.messageResult - The message result.executionContext - The current execution context.Xdi2MessagingExceptionInterceptorResult after(Message message, MessageResult messageResult, ExecutionContext executionContext) throws Xdi2MessagingException
message - The message to process.messageResult - The message result.executionContext - The current execution context.Xdi2MessagingExceptionCopyright © 2015. All Rights Reserved.