|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ChannelInterceptor
Interface for interceptors that are able to view and/or modify the
Messages
being sent-to and/or received-from a
MessageChannel
.
Method Summary | |
---|---|
Message<?> |
postReceive(Message<?> message,
MessageChannel channel)
Invoked immediately after a Message has been retrieved but before it is returned to the caller. |
void |
postSend(Message<?> message,
MessageChannel channel,
boolean sent)
Invoked immediately after the send invocation. |
boolean |
preReceive(MessageChannel channel)
Invoked as soon as receive is called and before a Message is actually retrieved. |
Message<?> |
preSend(Message<?> message,
MessageChannel channel)
Invoked before the Message is actually sent to the channel. |
Method Detail |
---|
Message<?> preSend(Message<?> message, MessageChannel channel)
null
, then the actual
send invocation will not occur.
void postSend(Message<?> message, MessageChannel channel, boolean sent)
boolean preReceive(MessageChannel channel)
Message<?> postReceive(Message<?> message, MessageChannel channel)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |