[rabbitmq-discuss] Not Able to keep messages persistent
Abhishek Kona
abhishek.kona at gmail.com
Fri Sep 3 08:14:17 BST 2010
Hi
Please tell me what I am doing wrong here
I am using RabbitMQ 2.0 and the Java API
Bp=new AMQP.BasicProperties()
bp.setTimeStamp(Calendar.getInstance.getTime())
bp.setDeliveryMode(2)
channel.basicPublish("default_exchange", rkey, bp, message.getBytes());
None of my messages are persistent. All my Queues are empty when I
restart RabbitMQ, The queues and Exchanges exist after a Restart, so
they are Durable.
Please point out what I am doing wrong.
I have been breaking my head over it for a long time.
Abhishek Kona
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20100903/dbeed972/attachment.htm>
More information about the rabbitmq-discuss
mailing list