Details
-
New Feature
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
3.4.4
-
None
-
Patch Available
-
Unknown
-
Patch, Important
Description
camel-rabbitmq - Add support for requeue at the Consumer level
Currently, in the rabbitmq while producing the record we need to set the below header to re-queue the data
rabbitmq.REQUEUE - To requue
Use case:
From the other applicaiton or producer missed to add the above header, re-queue will not be happen if we failed to acknowledge. In this case, consumer can decide wheather the produced record can be requeue or not. However, above header will always have highest preference at the producer level. Since, the produced force fully says this data cannot be re-queue. Consumer property will not be considered. Consumer property will be consider only if this header (rabbitmq.REQUEUE) is not available in the message body __