我可以在 JBoss 5 上使用 JBoss MQ 吗?如果是这样,怎么办?
我有一个在 JBoss 3.2.5 上编写的应用程序,我的任务是将其迁移到 JBoss 5。
我无法部署该应用程序,因为它依赖于 JBoss MQ,我读到它已被 JBoss Messaging 取代。
有什么方法可以让应用程序在 JBoss 5 上运行而无需更改任何代码?配置更改就OK了。
I have an application that was written on JBoss 3.2.5 and I am tasked with migrating it to JBoss 5.
I am unable to deploy the application because it relies on JBoss MQ, which I read has been replaced by JBoss Messaging.
Is there any way I can get the app to work on JBoss 5 without making any code changes? Config changes are OK.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
实际上JBoss Messaging 已经被HornetQ 取代了。
在 JBoss Application Sever 6.0 中,HornetQ 将成为默认的消息传递提供程序。
http://jboss.org/hornetq/
Actually JBoss Messaging is already being replaced by HornetQ.
In JBoss Application Sever 6.0, HornetQ will be the default messaging provider.
http://jboss.org/hornetq/
假设您的代码被写入 JMS API,那么是的,您可能可以。但是,不要低估JBossMQ与JBossMessaging有多么不同,配置完全不同。
根据您的应用程序推送 JMS API 的力度,您可能会遇到行为差异,但只要您可以在 JBoss5 中适当地重新配置 JBossMessages,您就很可能会没事。
另一种选择是迁移到 JBoss 4.2,它仍然具有 JBossMQ,但比 JBoss 3.2 领先了很多。 JBoss5 提供的大部分功能都可以通过 JBoss 4 完成(例如,它具有部分 JavaEE 5 支持)。
Assuming that your code is written to the JMS API, then yes, you probably can. However, don't underestimate how different JBossMQ is from JBossMessaging, the configuration is completely different.
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.
Another option is to move to JBoss 4.2, which still has JBossMQ, but is miles ahead of JBoss 3.2. Much of the functionality that JBoss5 gives you can be done with JBoss 4 (e.g. it has partial JavaEE 5 support).
JBoss AS 5.0 中的 JBossMQ 将被 JBoss Messaging 取代。
了解如何迁移的一个很好的起点是 JBossMQ
JBossMQ will be replaced by JBoss Messaging in JBoss AS 5.0.
A good starting point to find out how to migrate would be JBossMQ