[rabbitmq-discuss] Question about configuration of queues
Beene, William R.
beenewilliamr at gmail.com
Tue Nov 4 22:41:33 GMT 2008
On Tue, Nov 4, 2008 at 4:34 PM, Ben Hood <0x6e6562 at gmail.com> wrote:
> William,
>
> On Tue, Nov 4, 2008 at 10:05 PM, Beene, William R.
> <beenewilliamr at gmail.com> wrote:
>> Is there anyway to preconfigure a queue in rabbitmq before my app that
>> needs the queue starts up.
>> I want data sent to the queue to be persisted so that the app can get
>> it when it starts up.
>> Does this use case make sense? Is this possible? Any pointers would be
>> greatly appreciated.
>
> Why don't just declare the queue, send the messages that you want to
> pre-populate the queue with (setting the persistent flag when sending)
> and then after this has occurred, start a consumer to receive the
> messages?
>
> HTH,
>
> Ben
>
Because then the producers would have to know about all of the consumers.
I would rather put this in a property file or something. It looks like
I may have to write a small program that reads a property file and creates
the queues I need.
Thanks,
William Beene
More information about the rabbitmq-discuss
mailing list