[rabbitmq-discuss] durable rabbitmq queues on server

Paul Jones pauljones23 at gmail.com
Sun Feb 28 19:17:00 GMT 2010


Hi Marco,

If you set the durable flag when you create a queue, it will persist even
through a broker restart.

If you want to maintain queues, exchanges and bindings outside the scope of
your application, you could try adding the BQL plugin (
http://www.rabbitmq.com/rabbitmq-bql.html)

Cheers,
Paul.

On Sun, Feb 28, 2010 at 5:46 PM, Marco Mistroni <mmistroni at gmail.com> wrote:

>
> Hello all,
>  is it possible to create queues on server that will not die at restart?
> I wrote a basic rabbitmq client/server program in java, but i am getting
> tired of creating a queue every time the program starts.
> I'd rather create a queue on server which i can use every single time..
>
> Now i know the philosophy of RabbitMQ Is different from traditional IBM MQ,
> giving you more control over queues.. but
> i guess every commercial RabbitMQ application will have a set of predefined
> queues/exchanges, to which clients can connect for
> producing or consuming messages..... rather than creating a queue every
> time the application starts up...
>
> And i want to avoid to write a basic application that i run only once and
> that will create a durable queue......
>
> Or am i missing the whole concept of AMQ
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20100228/4b8622a2/attachment.htm 


More information about the rabbitmq-discuss mailing list