-
Couldn't load subscription status.
- Fork 1.1k
Description
Manuel Jordan opened INT-4014 and commented
Hello
When I work with:
<int:channel id="channel"
datatype="com.manuel.jordan.message.Message" >
<int:queue capacity="4" />
<int:interceptors>
<ref bean="messageChannelInterceptor" />
</int:interceptors>
</int:channel>My own bean which extends ChannelInterceptorAdapter, I am able to intercept
the send and receive moments (except for SubscribableChannel)
Until here I am ok.
But when I use:
<int:channel id="channel"
datatype="com.manuel.jordan.message.Message" >
<int:queue capacity="4" />
<int:interceptors>
<int:wire-tap channel="logger"/>
</int:interceptors>
</int:channel>
<int:logging-channel-adapter id="logger"
level="INFO"
log-full-message="true"
/> It only works or intercepts about just only the send, all about the receiver does not happens (I am talking about for non-SubscribableChannel)
My point is, I have assumed that <int:wire-tap> should work for sender/receiver (in this case for a QueueChannel) but only works for sender
Therefore:If it is the expected behaviour, I suggest include that explanation how a note in Wire Tap
Affects: 4.2.GA, 4.2.5