JMS-like message selector for AMQP (ActiveMQ / RabbitMQ)

Is there anything similar to the JMS message selector for RabbitMQ? Or should some code be written to parse and select messages?

Thank.

+4
source share
2 answers

It is called the amqp routing key.

Here you can find different options:

http://www.wmrichards.com/amqp.pdf

And you can find an example of a routing key here:

http://www.rabbitmq.com/tutorials/tutorial-four-python.html

+4
source

AMQP / , . message_type = 'foo', message_type .

/ , amq.match, , , . field1 = 'value' OR field2 = 'value' , .

, JMS , , , .., AMQP/RabbitMQ.

+1
source

Source: https://habr.com/ru/post/1533759/


All Articles