[rabbitmq-discuss] Not Able to keep messages persistent
Abhishek Kona
abhishek.kona at gmail.com
Fri Sep 3 08:49:18 BST 2010
When I am using Transaction Commit, the messages are persisted but
without the transaction commits, the messages are not persistent.
I am guessing the issue is the messages are not persisted as soon as
they are received. But at some time later on by the RabbitMQ.
Is this the issue.
Abhishek Kona
On 03/09/10 12:44 PM, Abhishek Kona wrote:
> 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/a65ee812/attachment.htm>
More information about the rabbitmq-discuss
mailing list