On Sun, 2010-03-07 at 15:46 -0500, Bill Whiting wrote:
> I'm trying to enable persistence.  If I define an exchange and queue 
> with the --durable option then the qpid-config command does not 
> complain, but the objects are not re-created when I re-cycle the broker
> 
> If I run the broker manually with
>      qpidd --data-dir /var/lib/qpidd -t
> then the broker notes that persistence is not enabled.  Is there a web 
> page or documentation that describes enabling the store for persistent 
> messaging?
> 
> //Bill
> 

Make sure you have the store module loaded, use the --load-module
path/to/msgstore.so when starting the broker (if it is not already in
your config file):

$ ./qpidd --load-module /path/to/msgstore.so --auth no --log-enable notice+
2010-03-08 07:16:48 notice Journal "TplStore": Created
2010-03-08 07:16:48 notice Store module initialized; 
store-dir=/home/username/.qpidd
2010-03-08 07:16:48 notice SASL disabled: No Authentication Performed
2010-03-08 07:16:48 notice Listening on TCP port 5672
2010-03-08 07:16:48 notice Broker running

Note the first two lines in the log.

http://cwiki.apache.org/confluence/display/qpid/FAQ#FAQ-Persistence

I agree that it would be helpful if the qpid-config program would warn
if persistence is not loaded and you try to use persistence features.



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to