> 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

Reply via email to