Okay, it seems I have 2 options: 1) Merge all changes from Java into NMS 2) Try to use camel case routes to define a rule. The scheme will be the following:
* Consumer receives a message and it can't process it * Consumer move message to its own DLQ, which is actually works as a temporary storage * There is a camel route defined, like you have pointed in https://issues.apache.org/jira/browse/AMQ-2710?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#issue-tabs that executes the following logic: if (message.headers.RedeliveryCount < 5) { Move message back to original queue } else { move message to real DLQ } Can this being done using the page https://issues.apache.org/jira/browse/AMQ-2710?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#issue-tabs and conditional logic from http://activemq.apache.org/sample-camel-routes.html ? -- View this message in context: http://activemq.2283324.n4.nabble.com/Redelivery-sticks-to-and-blocks-a-consumer-thread-tp2358923p3986248.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.