在运行时创建JMS队列 [英] Creating JMS Queues at runtime

查看:259
本文介绍了在运行时创建JMS队列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我工作的一个应用程序,应用程序,用户可以创建/删除队列。此外,他将能够基于一些过滤器在队列1队列中移动消息到另一个,删除邮件,重新安排的消息。

I am working on an application where the app user can create / delete queues . Also , he would be able to move a message from 1 queue to another, delete a message , rearrange the messages in the queue based on some filter.

一个可能的设计是使用ActiveMQ的为队列和Apache骆驼其他各种操作使用Grails具有集成。
但我不知道的ActiveMQ是否允许创建/ deleltion队列在运行时。结果
这会是一个不错的选择来实现这样的系统?

One possible design is to use activemq for queues and apache camel for various other operations having integrated with Grails. But I am not sure whether ActiveMQ allows creation /deleltion queues at runtime.
Would this be a good choice to implement such system?

推荐答案

是的,你可以创建/删除/在运行时管理的ActiveMQ队列。这可以使用ActiveMQ的/骆驼API或JMX API来完成...

Yes, you can create/delete/manage ActiveMQ queues at runtime. This can be done using ActiveMQ/Camel APIs or JMX APIs...

本文讨论了ActiveMQ的JMX API方法更详细...

This article discusses the ActiveMQ JMX API approach in more detail...

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

您可以使用骆驼的recipientList路由动态地端点(可以是新的JMS队列等)...

You can use Camel's recipientList to route dynamically to endpoints (which can be new JMS queues, etc)...

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

这篇关于在运行时创建JMS队列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆