Reputation: 8950
When you create a queue, you can specify time-to-leave of the messages, deletion of the queue if it has not been used for some time etc.
Those parameters are passed via a dictionary ; is there a place where you can find the proper key-values list accepted ?
Upvotes: 4
Views: 9090
Reputation: 22682
“Arguments” are amqp
BasicProperties
Some AMQP broker use the BasicProperties to implement their extensions, for example Time-To-Live extension
is an RabbitMQ extension.
If you change the broker you lose this functionality.
Read http://www.rabbitmq.com/extensions.html to see the RabbitMQ extensions.
Anyway you can use the properties as you prefer, for example you can add an your custom key value.
The class http://www.rabbitmq.com/releases//rabbitmq-java-client/current-javadoc/com/rabbitmq/client/MessageProperties.html contains some pre-built BasicProperties.
Upvotes: 3