Hwo to Topic / Queue in RabbitMQ with AMQP 1.0? #3123
Unanswered
PassionateDeveloper86
asked this question in
Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Simple question I think:
I want to have a Topic with the routing key "red.dog" and I want to have 3 queues:
1 durable queue whih gets all (the routing key should be #, right?)
1 non durable queue which gets all
1 non durable queue which gets only red (routing key should be red.*, right?)
So I am using C#, the newest RabbitMQ and AMQP 1.0 with the amqpnetlite library.
My sender is like this:
which works fine.
I can see messages within the amqp.topics and when I create a queue over the webinterface and bind it to "#" it gets all messages correcty. So far so good.
Now when I try to subscribe there is no message:
So I see the queue created in the web interface named "#" but without binding, it is non-durable with "Durable = 0" and durable with "Durable = 1", so this seems to work.
What I can't find out is the correct naming of the address to get my 3 wished examples running (tried a lot of).
I found this documentation about AMQP 1.0 integration:
https://github.com/rabbitmq/rabbitmq-server/tree/master/deps/amqp10_client
So my /queue/# should be right I think..
What did I do wrong?
Beta Was this translation helpful? Give feedback.
All reactions