
public interface MessageInterceptor extends Interceptor<MessagingContainer>
Extension.InitPriorityComparator, Extension.ShutdownPriorityComparator| Modifier and Type | Method and Description |
|---|---|
InterceptorResult |
after(Message message,
ExecutionContext executionContext,
ExecutionResult executionResult)
Run after a message is executed.
|
InterceptorResult |
before(Message message,
ExecutionContext executionContext,
ExecutionResult executionResult)
Run before a message is executed.
|
clearDisabled, clearDisabledForMessage, clearDisabledForMessageEnvelope, clearDisabledForOperation, getInitPriority, getShutdownPriority, init, setDisabled, setDisabledForMessage, setDisabledForMessageEnvelope, setDisabledForOperation, shutdown, skipInterceptorResult before(Message message, ExecutionContext executionContext, ExecutionResult executionResult) throws Xdi2MessagingException
message - The message to process.executionResult - The execution result.executionContext - The current execution context.Xdi2MessagingExceptionInterceptorResult after(Message message, ExecutionContext executionContext, ExecutionResult executionResult) throws Xdi2MessagingException
message - The message to process.executionResult - The execution result.executionContext - The current execution context.Xdi2MessagingExceptionCopyright © 2017. All rights reserved.