我可以在JBoss 5上使用JBoss MQ吗?如果是这样,怎么办? [英] Can I use JBoss MQ on JBoss 5? If so, how?

查看:100
本文介绍了我可以在JBoss 5上使用JBoss MQ吗?如果是这样,怎么办?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个用JBoss 3.2.5编写的应用程序,我的任务是将其迁移到JBoss 5.

I have an application that was written on JBoss 3.2.5 and I am tasked with migrating it to JBoss 5.

我无法部署该应用程序,因为它依赖JBoss MQ,而我阅读的该书已被JBoss Messaging取代.

I am unable to deploy the application because it relies on JBoss MQ, which I read has been replaced by JBoss Messaging.

有什么方法可以使应用程序在JBoss 5上运行而无需进行任何代码更改?可以进行配置更改.

Is there any way I can get the app to work on JBoss 5 without making any code changes? Config changes are OK.

推荐答案

有什么办法可以使我的应用 在JBoss 5上工作而无需做任何事情 代码更改?可以进行配置更改.

Is there any way I can get the app to work on JBoss 5 without making any code changes? Config changes are OK.

假设您的代码已写入JMS API,那么可以.但是,请不要低估JBossMQ与JBossMessaging的不同之处,其配置是完全不同的.

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.

取决于您应用程序推送JMS API的努力程度,您可能会在行为上有所差异,但是只要您可以在JBoss5中适当地重新配置JBossMessages,就可以了.

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.

另一个选择是移至JBoss 4.2,该版本仍具有JBossMQ,但比JBoss 3.2领先几英里. JBoss5提供的许多功能都可以通过JBoss 4来完成(例如,它具有部分JavaEE 5支持).

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 5上使用JBoss MQ吗?如果是这样,怎么办?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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