[rabbitmq-discuss] Issue with .Net client Subscription
Matthias Radestock
matthias at lshift.net
Fri Sep 18 05:46:06 BST 2009
Deepak,
Deepak.Kumar1 at rbs.com wrote:
> Tried a few possible ways to create exchange and Bind2Q but didn't work
> so far, it seems to need some precise sequence which escapes me
> here's the publishing code
>
> [...]
> ch.ExchangeDeclare(exch, ExchangeType.Direct);
As Paul mentioned, for the kind of matching you are doing the exchange
needs to be a *topic* exchange, so the above should either by
ExchangeType.Topic, or you could simply use the default topic exchange
called 'amq.topic'.
Regards,
Matthias.
More information about the rabbitmq-discuss
mailing list