[rabbitmq-discuss] Create exchanges and queues beforehand

Marek Majkowski majek04 at gmail.com
Tue Nov 15 17:53:25 GMT 2011


On Tue, Nov 15, 2011 at 15:41, Stefano Ghio <steghio at eng.it> wrote:
> Never mind,
>
> solved by having every receiver create its own queue at startup and sending
> messages using defined rules common to everyone.
>
> Send is then done as:
>
> [...]
> exchangeDeclare(..);
> basicPublish(..);
>
> Of course sending before the receiver has spawned results in message loss.
>
> Thanks for your help anyway,


Yes, that's how it should be done.

I'm happy to hear that you get it working.

Cheers,
  Marek


> cheers
> --
> Dr. Stefano Ghio - ENG Engineering Italy
>
> Website: http://groglogs.blogspot.com/
>
> If you received this message but you are not its recipient, please ignore it
> and warn me, thank you.
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
>


More information about the rabbitmq-discuss mailing list