[rabbitmq-discuss] Question about message priority

Varsha Dashputre varsha_dashputre at persistent.co.in
Fri Jan 24 07:12:14 GMT 2014


Hi,

I have found that we can specify message priority while publishing a message as

                 AMQP.BasicProperties.Builder builder = new AMQP.BasicProperties.Builder();
   //
   //set priority to 9
   //
                 builder.priority(9).contentType("text/plain").deliveryMode(2);

                 channel.basicPublish("", QUEUE_NAME, builder.build(), message.getBytes());

However at the receiver's end, messages are received in FIFO manner. Am I missing on anything?
Which version of RabbitMQ supports message delivery with message priority?
Or it is not yet supported?

Please advise.

Thanks,
Varsha.

DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140124/3a999105/attachment.html>


More information about the rabbitmq-discuss mailing list