Closed
Description
Affects Version(s): <Spring AMQP version>
all
Enhancement
sometimes we used some state in memory map. needs to get it in listener#onMessage
, and remove it after acked.
but now i can only remove it in onMessage, if the method exits and ack failed, the state lost.
next time, the same message comes to onMessage, but the state is gone.
so, i was wondering why there's no interceptor like before and after method in MessageListener, then we can do some inilialize before invoke onMessage and release some resources after acked ok or not.
MessagePostProcessor
seems to be act as before interceptor, what about create a new MessageAckProcessor
?