English 中文(简体)
RabbitMQ 单项交换和单项交汇,有多个路由钥匙
原标题:RabbitMQ single exchange and single queue with multiple routing keys
  • 时间:2014-01-03 12:20:22
  •  标签:
  • rabbitmq

我正试图利用“基础知识”来检索与“频道交换”/Queue/RoutingKey组合相匹配的信息。

我们航向钥匙的范例

Development:STACK_1_WEBSERVER_V2:1:2.9.0.0

我感到不安的是,鲁宾特钥匙正被完全忽视,而所有电文,无论具体路由钥匙通过《基本法》提供。

我正在直接交流。 尽管我很直接,但我并不需要放弃你接受异地交流的关键。

直接交换和统一关键解决办法是否应当与基本公平原则合作?

Thanks

最佳回答

直接交换和转移钥匙就足够了,尽管你正在从一个带有多个路由钥匙的电线上抽走。 你们需要为每一个希望自己传递信息的人单独定点。

该数值在<代码>basic.get和basic.consume之间。

当你把电文从点上拉出时,交换类型和关键时,电文已转至点。

问题回答

Ideally l thought Routing keys would be able to say route message to same queue and same exchange but have different consumers based on the routing key .But from deep searching it seems it doesn t work that way ... All consumers bounded to a queue will just consume the messages in a round robin fashion .





相关问题
what the default max length of rabbit queue

For any given queue, the maximum length (of either type) can be defined using a policy (this option is highly recommended) or by clients using the queue s optional arguments. In the case where both ...

Retrieve messages from RabbitMQ queue(s)

I m looking to implement RabbitMQ into my PHP application, and am using the php-amqp extension. My only question is this, how do I easily query to return the contents of the queue in PHP? php-amqp ...

How to use listen on basic.return in python client of AMQP

I d like to make sure that my message was delivered to a queue. To do so I m adding the mandatory param to the basic_publish. What else should I do to receive the basic.return message if my message ...

Is AMQP production ready?

I d like to use AMQP to join two services one written in C# and other written in python. I m expecting quite large volume of messages per second. Is there any AMQP Broker that is production ready? ...

Multiple consumer one queue

Is it possible to make multiple consumers to share one single queue in RabbitMQ? I am currently using this php library to work with RabbitMQ, from what I observe, although I have 2 identical instances ...

Why use AMQP/ZeroMQ/RabbitMQ

as opposed to writing your own library. We re working on a project here that will be a self-dividing server pool, if one section grows too heavy, the manager would divide it and put it on another ...

How to wait for messages on multiple queues using py-amqplib

I m using py-amqplib to access RabbitMQ in Python. The application receives requests to listen on certain MQ topics from time to time. The first time it receives such a request it creates an AMQP ...

热门标签