Creating JMS Queues at Run Time

I am working on an application in which an application user can create / delete queues. In addition, he will be able to move the message from one queue to another, delete the message, reorder the messages in the queue based on some filter.

One possible option is to use activemq for queues and apache camel for other operations integrated with Grails. But I'm not sure if ActiveMQ allows creating create / delete queues at runtime.
Would it be a good choice to implement such a system?

+3
source share
3 answers

, // ActiveMQ . API ActiveMQ/Camel JMX API...

API ActiveMQ JMX...

http://www.consulting-notes.com/2010/08/monitoring-and-managing-activemq-with.html

Camel recipientList ( JMS ..)...

http://camel.apache.org/recipient-list.html

+3

JMS Session.createQueue() Session.createTopic(). IIRC, , , .

You should also read the ActiveMQConnection JavaDoc, which gives you many options for creating temporary or long-term destinations (queues and / or topics).

+1
source

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


All Articles