java Tomcat 6 的 JMS

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/13127404/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-31 11:36:01  来源:igfitidea点击:

A JMS for Tomcat 6

javatomcatjms

提问by user1483346

I'm working in a Tomcat 6 java web application and I have some requirements that needs to be resolved with a JMS (message queue), but need some orientation to accomplish it.

我在 Tomcat 6 java web 应用程序中工作,我有一些需要用 JMS(消息队列)解决的要求,但需要一些方向来完成它。

I know that Glassfish or JBoss implements his JMS Queue, but the company doesn't want to install those.

我知道 Glassfish 或 JBoss 实现了他的 JMS 队列,但公司不想安装它们。

Are there any opensource alternative to a JMS implementation that could be deployed in tomcat 6?

是否有任何可以部署在 tomcat 6 中的 JMS 实现的开源替代方案?

I researched this, but after reviewing the page it's looks like a closed project. Can anyone suggest another course?

对此进行了研究,但在查看页面后,它看起来像是一个封闭的项目。有人可以推荐另一门课程吗?

回答by Arun Manivannan

Did you check ActiveMQ integration with Tomcat

您是否检查了 ActiveMQ 与 Tomcat 的集成

Tutorial

教程

回答by Sashi

I would definitely consider ActiveMQ.

我肯定会考虑 ActiveMQ。

It is very widely used and has a very active user community.

它的使用非常广泛,并且拥有非常活跃的用户社区。

It has lots of advanced features and even supports Enterprise Integration Patterns.

它具有许多高级功能,甚至支持企业集成模式。

And finally it integrates well into a Spring based application.

最后,它可以很好地集成到基于 Spring 的应用程序中。

Active MQ

主动MQ

回答by Matt

In general, most JMS queue implementations will be standalone apps. However, you can still deploy your app in Tomcat, and either code directly to the JMS api, or using something like spring-jms or spring-integration to make it easier for yourself.

通常,大多数 JMS 队列实现将是独立的应用程序。但是,您仍然可以在 Tomcat 中部署您的应用程序,或者直接将代码编码到 JMS api,或者使用类似 spring-jms 或 spring-integration 之类的东西来让自己更轻松。

As people have said, ActiveMQ and RabbitMQ are two very good options for JMS.

正如人们所说,ActiveMQ 和 RabbitMQ 是 JMS 的两个非常好的选择。