<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
When I am using Transaction Commit, the messages are persisted but
without the transaction commits, the messages are not persistent. <br>
<br>
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. <br>
Is this the issue.<br>
<br>
Abhishek Kona<br>
<br>
<br>
On 03/09/10 12:44 PM, Abhishek Kona wrote:
<blockquote cite="mid:4C80A049.8020906@gmail.com" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
Hi<br>
<br>
Please tell me what I am doing wrong here<br>
I am using RabbitMQ 2.0 and the Java API<br>
<br>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
Bp=new AMQP.BasicProperties()<br>
bp.setTimeStamp(Calendar.getInstance.getTime())<br>
bp.setDeliveryMode(2)<br>
<br>
channel.basicPublish("default_exchange", rkey, bp,
message.getBytes());<br>
<br>
<br>
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. <br>
<br>
Please point out what I am doing wrong. <br>
I have been breaking my head over it for a long time.<br>
<br>
Abhishek Kona<br>
</blockquote>
<br>
</body>
</html>