Thanks a lot, Steve I am working on it, now.
I have C++ broker but the clients (both publisher & subscriber) are in .NET. Please provide some pointer for making Queue & Message DURABLE in .NET clients. Thanks, KBS -----Original Message----- From: Steve Huston [mailto:shus...@riverace.com] Sent: Thursday, March 17, 2011 8:20 PM To: users@qpid.apache.org Subject: RE: Using Qpid Persistence -- Help Required > I have built qpid C++ source and I am starting the QPID with > following command > > qpidd.exe --auth no --data-dir "D:\QPID\Data" --load-module "D:\ > qpidc-0.8\bin\stored.dll" --load-module > "D:\qpidc-0.8\bin\msclfs_stored.dll" > > Is this the correct option to start QPID with Persistence? Assuming there's not really a space in the first load-module, yes. > > It's creating QpidStore Database on my SQL Server. But it's not > persisting the data published. Ok. Well, you have verified that the modules are loading at least. > Here, How I tested this...... > > 1) Start QPID with above command > > 2) Execute Subscriber/Listener and subscribed for topic 'abc' > - Kill the subscriber after this > > 3) Execute Publisher and publish 'abc' -- Kill the publisher after > this > > 4) Run, Subscriber/Listener again, -- I got all messages published So, > in-memory persistence is working. > > > > 1) Start QPID with above command > > 2) Execute Subscriber/Listener and subscribed for topic 'abc' > - Kill the subscriber after this > > 3) Execute Publisher and publish 'abc' -- Kill the publisher after > this 4)Shut down QPID > > 4) Run, Subscriber/Listener again, -- I got No messages > > > > So, actual persistence is NOT working. OR my understanding of QPID > persistence is wrong. > > Please help me in enabling it. The queue and messages sent both need to be marked persistent. Unless you make the appropriate changes to enable persistence in the application, the messages won't be stored. -Steve -- Steve Huston, Riverace Corporation Total Lifecycle Support for Your Networked Applications http://www.riverace.com --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:users-subscr...@qpid.apache.org ***The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review,retransmission,dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.*** --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:users-subscr...@qpid.apache.org