Closed
Description
Expected Behavior
It should be possible to configure consumer arguments when consuming with RabbitTemplate. In my particular use case, I would like to set the consumer priority when consuming with an AmqpTemplate instance.
Current Behavior
Currently, it is impossible to set the consumer arguments when consuming with AmqpTemplate.
Context
In my particular use case, I would like to:
- Set the consumer priority to a particular value
- Wait indefinitely until a message can be received.
- Process the message, which may take several minutes.
- Terminate the program
There is some documentation for configuring the consumer priority when performing asynchronous consumption. However, I haven't found a solution for synchronous consumption.