简体   繁体   English

我可以在JBoss 5上使用JBoss MQ吗? 如果是这样,怎么样?

[英]Can I use JBoss MQ on JBoss 5? If so, how?

I have an application that was written on JBoss 3.2.5 and I am tasked with migrating it to JBoss 5. 我有一个在JBoss 3.2.5上编写的应用程序,我的任务是将其迁移到JBoss 5。

I am unable to deploy the application because it relies on JBoss MQ, which I read has been replaced by JBoss Messaging. 我无法部署应用程序,因为它依赖于JBoss MQ,我读过它已被JBoss Messaging取代。

Is there any way I can get the app to work on JBoss 5 without making any code changes? 有没有什么办法可以让我的应用程序在JBoss 5上运行而不进行任何代码更改? Config changes are OK. 配置更改没问题。

Actually JBoss Messaging is already being replaced by HornetQ. 实际上JBoss Messaging已经被HornetQ所取代。

In JBoss Application Sever 6.0, HornetQ will be the default messaging provider. 在JBoss Application Sever 6.0中,HornetQ将成为默认的消息传递提供者。

http://jboss.org/hornetq/ http://jboss.org/hornetq/

Is there any way I can get the app to work on JBoss 5 without making any code changes? 有没有什么办法可以让我的应用程序在JBoss 5上运行而不进行任何代码更改? Config changes are OK. 配置更改没问题。

Assuming that your code is written to the JMS API, then yes, you probably can. 假设您的代码已写入JMS API,那么您可能可以。 However, don't underestimate how different JBossMQ is from JBossMessaging, the configuration is completely different. 但是,不要低估JBossMQ与JBossMessaging的不同之处,配置完全不同。

Depending on how hard your app pushes the JMS API, you may get behavioural differences, but the odds are you'll be fine, as long as you can reconfigure JBossMessages within JBoss5 appropriately. 根据您的应用程序推送JMS API的难度,您可能会遇到行为差异,但只要您能够在JBoss5中正确地重新配置JBossMessages,您就可以了。

Another option is to move to JBoss 4.2, which still has JBossMQ, but is miles ahead of JBoss 3.2. 另一种选择是迁移到JBoss 4.2,它仍然具有JBossMQ,但比JBoss 3.2领先一步。 Much of the functionality that JBoss5 gives you can be done with JBoss 4 (eg it has partial JavaEE 5 support). JBoss5为您提供的大部分功能都可以通过JBoss 4完成(例如,它具有部分JavaEE 5支持)。

JBossMQ will be replaced by JBoss Messaging in JBoss AS 5.0. JBossMQ将被JBoss AS 5.0中的JBoss Messaging取代。
A good starting point to find out how to migrate would be JBossMQ JBossMQ是一个很好的起点,可以找到如何迁移的方法

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM