|
Spring Integration | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.integration.channel.interceptor.ChannelInterceptorAdapter
public class ChannelInterceptorAdapter
A ChannelInterceptor with no-op method implementations so that
subclasses do not have to implement all of the interface's methods.
| Constructor Summary | |
|---|---|
ChannelInterceptorAdapter()
|
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChannelInterceptorAdapter()
| Method Detail |
|---|
public Message<?> preSend(Message<?> message,
MessageChannel channel)
ChannelInterceptornull, then the actual
send invocation will not occur.
preSend in interface ChannelInterceptor
public void postSend(Message<?> message,
MessageChannel channel,
boolean sent)
ChannelInterceptor
postSend in interface ChannelInterceptorpublic boolean preReceive(MessageChannel channel)
ChannelInterceptor
preReceive in interface ChannelInterceptor
public Message<?> postReceive(Message<?> message,
MessageChannel channel)
ChannelInterceptor
postReceive in interface ChannelInterceptor
|
Spring Integration | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||