Redelivery attempts pile up in the activemq RA and block a consumer in pure jms. A strategy where messag order is ignored and messages are rerouted to the original destination after some period can allow the broker to deal with the redelivery and allow the application to continue with valid messages while the remaining ones are pending.
Using a no retry delivery policy and an individual DLQ policy allows redeliveries to be diverted to the DLQ immediately. Adding in a camel route that takes from the DLQ and schedules a delayed delivery to the original destination provided a clean alternative, at the cost of breaking queue order semantics for the pure JMS case.
An example of such a camel route would be nice.
|Field||Original Value||New Value|
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Resolution||Fixed [ 1 ]|
|Project Import||Fri Nov 26 22:32:02 EST 2010 [ 1290828722158 ]|