[openamq-dev] Durable Subscribrs

Martin Sustrik sustrik at imatix.com
Tue Mar 4 17:14:22 CET 2008


Hi,
>
>  I want to know how can I create a durable subscriber with a OpenAMQ. 
> In your tutorial section there is no helpful information regarding 
> this. In the Queue declare section there is a durable bit but it says 
> its not implemented ?.
>
>  Or are there any other ways to get messages sent during off line ?
What do you exactly mean by 'durable subscriber'? I suppose you mean a 
way to store messages for particular client in the broker while client 
is offline and send them once the client becomes online, right?

If so, just declare the queue with auto-delete set to false. That way 
the queue will reside in the broker and receive messages not depending 
on whether the client is online or offline.

Martin


More information about the openamq-dev mailing list