In AbstractAcknowledgementListenerAndInterceptor.java, interceptMessage, there is this line:
String ack = msg.getHeader().getAck();
That getAck() value is added to the queue as the identifier of the message, but shouldn't it be getId() instead? getAck returns auto, client or client-individual.
In
AbstractAcknowledgementListenerAndInterceptor.java
,interceptMessage
, there is this line:String ack = msg.getHeader().getAck();
That
getAck()
value is added to the queue as the identifier of the message, but shouldn't it begetId()
instead?getAck
returnsauto
,client
orclient-individual
.Here's the current implementation:
Now, when a method like
evaluateAck
uses theid
header to look up the message in the queue, yet it will never find the message: