RabbitMQ Topic Exchange with persisted queue

久未见 提交于 2019-12-12 04:53:16

问题


I've implemented a typical Java Producer class which spreads messages to a Topic Durable Exchange.
Well, if I follow the tutorial, and send message through this exchange with a started consumer the consumer obey to the routing key keywords.

I bind my topic exchange to a queue with same routing key, and THEN I start a consumer with a non matching routing key, the message is delivered the same.

In practical, persistent queue seems to ignore the routing key topic laws.

Is the topic exchange function only with synchronous exchange communication?

来源:https://stackoverflow.com/questions/26230862/rabbitmq-topic-exchange-with-persisted-queue

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!