Java 1.4上的ActiveMQ CLIENT [英] ActiveMQ CLIENT on Java 1.4

查看:77
本文介绍了Java 1.4上的ActiveMQ CLIENT的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们在最新版本5.6.0中使用Active MQ。
现在我们有一个问题,那就是必须连接一个新客户端,不幸的是,该客户端是使用IBM JDK 1.4开发的。将ActiveMQ添加到应用程序中会导致以下错误:

We are using Active MQ in the most current version 5.6.0. Now we have the problem that a new client has to be connected, unfortunately this client is developed with IBM JDK 1.4. Adding ActiveMQ to the application lead to the following error:

UNEXPECTED ERROR OCCURRED: org/apache/activemq/ActiveMQConnectionFactory (Unsupported major.minor version 50.0) 
STACK TRACE: 
java.lang.UnsupportedClassVersionError: org/apache/activemq/ActiveMQConnectionFactory (Unsupported major.minor version 50.0) 

我们不想切换到较旧的ActiveMQ版本,因为还有其他应用程序正在使用当前版本。现在我的问题(我知道FAQ,尤其是 http://activemq.apache.org/can-i-use-activemq-5x-or-later-on-java-14.html ):

We don't want to switch to an older ActiveMQ version, since there are other applications using the current version. Now my questions (I know the FAQ and especially http://activemq.apache.org/can-i-use-activemq-5x-or-later-on-java-14.html):

是否有可用于连接到Active MQ 5.6.0的ActiveMQ客户端jar?
例如,是否可以使用ActiveMQ 4.0客户端连接到Active MQ 5.6.0?
是否可以为此目的使用其他协议?是否有人成功运行了解决方案?

Are there any ActiveMQ client jars which are usable to connect to Active MQ 5.6.0? For example is it possible to use an ActiveMQ 4.0 client to connect to Active MQ 5.6.0? Is it possible to use any other protocol for this purpose? Has anyone a succesful solution running?

如果我必须使用Retrotranslator,这是我必须翻译的jar的最低设置?有没有人有使用IBM JDK 1.4的经验?

If I have to use retrotranslator which is the minimum set on jars I have to translate? Has anyone the experience with IBM JDK 1.4?

感谢您的回答!

推荐答案

您可以从STOMP连接到ActiveMQ代理,也可以使用较旧的AMQ 5.x客户端并连接。您当然可以尝试使用较旧的4.x客户端,但实际上不建议这样做。版本5客户端应该能够毫无问题地进行连接,但是,无论何时使用旧客户端,都将遇到新版本中修复的那些客户端所包含的问题。

You can connect from STOMP to the ActiveMQ broker, or you can use an older AMQ 5.x client and connect. You can of course try an older 4.x client but its not really recommended. Version 5 clients should be able to connect without much problem however anytime you use an older client you are subject to the issues that are contained in those clients that were fixed in newer releases.

这篇关于Java 1.4上的ActiveMQ CLIENT的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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