Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.20.2
-
Novice
Description
As discussed here:
When temporary reply queues are used on InOut capable routes with autoAck set to false on the main queue(s) the reply messages keep piling up in the temporary queue in an un-acked state until a consumer restart.
This can be prevented with a change to the TemporaryQueueReplyManager line 139 to always start the consumer of temprary queues with auto acknowledge mode of true.
Changing this:
private void start() throws IOException
{ tag = channel.basicConsume(getReplyTo(), endpoint.isAutoAck(), this); }To:
private void start() throws IOException
{ tag = channel.basicConsume(getReplyTo(), *true*, this); }