@Deprecated public class MessageTransformingChannelInterceptor extends ChannelInterceptorAdapter
ChannelInterceptor
which invokes a Transformer
when either sending-to or receiving-from a channel.Constructor and Description |
---|
MessageTransformingChannelInterceptor(Transformer transformer)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getTransformOnSend()
Deprecated.
|
Message<?> |
postReceive(Message<?> message,
MessageChannel channel)
Deprecated.
Invoked immediately after a Message has been retrieved but before
it is returned to the caller.
|
Message<?> |
preSend(Message<?> message,
MessageChannel channel)
Deprecated.
Invoked before the Message is actually sent to the channel.
|
void |
setTransformOnSend(boolean transformOnSend)
Deprecated.
|
postSend, preReceive
public MessageTransformingChannelInterceptor(Transformer transformer)
public boolean getTransformOnSend()
public void setTransformOnSend(boolean transformOnSend)
public Message<?> preSend(Message<?> message, MessageChannel channel)
ChannelInterceptor
null
, then the actual
send invocation will not occur.preSend
in interface ChannelInterceptor
preSend
in class ChannelInterceptorAdapter
public Message<?> postReceive(Message<?> message, MessageChannel channel)
ChannelInterceptor
postReceive
in interface ChannelInterceptor
postReceive
in class ChannelInterceptorAdapter