public interface Interceptor
| Modifier and Type | Method and Description |
|---|---|
void |
processIncomingMessage(Endpoint endpoint,
String operation,
MessageContext msgCtx,
Subject subject)
Process an incoming message.
|
void |
processOutgoingMessage(Endpoint endpoint,
String operation,
MessageContext msgCtx,
Subject subject)
Process an outbound message.
|
void processIncomingMessage(Endpoint endpoint, String operation, MessageContext msgCtx, Subject subject) throws MessageHandlerException
endpoint - is the deployed Endpoint which is the sink of the Messageoperation - is the operation being invokedsubject - is the Subject to be updated with the Senders IdentitymsgCtx - is the MessageContext which is a wrapper around the message.MessageHandlerException - on Errorsvoid processOutgoingMessage(Endpoint endpoint, String operation, MessageContext msgCtx, Subject subject) throws MessageHandlerException
endpoint - is the deployed Endpoint which is the source of the Messageoperation - is the operation being invoked
param subject is the Subject which identifies the Sender.msgCtx - is the MessageContext which is a wrapper around the message.MessageHandlerException - on ErrorsCopyright © 2011-2016 OpenESB Community. All Rights Reserved.