Hi Jeremy,
You need to add into a virtual host configuration an exchange
configuration like in the example below:
<virtualhost>
<name>test</name>
<test>
...
<exchanges>
<exchange>
<type>fanout</type>
<name>test.fanout</name>
</exchange>
</exchanges>
...
<queues>
<queue>
<name>my-queue</name>
<my-queue>
<exchange>test.fanout</exchange>
</my-queue>
</queue>
</queues>
...
</test>
</virtualhost>
In the xml snippet above I declared a fanout exchange with name
"test.fanout" on test virtual host. Also, I declared a queue with name
"my-queue" and bound that queue to the test.fanout exchange.
Kind Regards,
Alex
On 26 March 2013 06:09, Jeremy Wagner <[email protected]> wrote:
> Hello everyone,
>
> I am unsure of how to create a fanout exchange with the Java broker using the
> XML configuration file. I am using 0.18. I understand that the broker will
> hold the exchange and that the receiving queues will have to be attached to
> the exchange for them to get all of the messages, but I'm not sure how to set
> it up. Thank you.
>
> Regards,
> Jeremy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]