qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carl Trieloff <cctriel...@redhat.com>
Subject Re: Durable Queues with beta cpp client/broker?
Date Mon, 29 Dec 2008 15:08:08 GMT
Adam Chase wrote:
> When I declare my queues:
>
> session.queueDeclare(arg::queue="message_queue3", arg::durable=true);
> session.exchangeBind(arg::exchange="amq.direct",
> arg::queue="message_queue3", arg::bindingKey="routing_key3");
>
> I then publish a bunch of persistent messages to the exchange with
> this routing key.
> (My consumer can get messages off of the queue at this point).
>
> Then I kill 'qpidd '.
>
> I restart qpidd.
>
> Then I try to consume from the queue and I get: not-found: not-found:
> Queue not found: message_queue3.
>
> Am I misunderstanding something or is this a bug?
>
> Thanks,
>
> Adam
>   

You need to load a durability module... I'll update the wiki and provide 
the link later today...

Basically, you can get one from here for Linux
svn co  https://svn.jboss.org/repos/rhmessaging/store/trunk/cpp

and bootstap, configure, make...

then to load the module

qpidd --load-module store.so

regards
Carl.





Mime
View raw message