I have a simple setup with a single channel, a class that sends 100 messages with a string payload, a simple handler that does nothing but print a log message, and a class implementing ChannelInterceptor.
Everything works as expected until the 100 messages have been sent, after which the interceptor's postReceive method is called once per second with a null "message" parameter, seemingly indefinitely.
When I disable the message sender class, I still get a call to postReceive with a null message once per second, even though nothing in my code is sending messages.
What's going on? All I'm doing is listening... I've written no code except logging statements. I have no loops or anything that could be the source of this.


Reply With Quote