带有WebSphere Application Server 8.5的ActiveMQ 5.11 [英] ActiveMQ 5.11 with WebSphere Application Server 8.5

查看:65
本文介绍了带有WebSphere Application Server 8.5的ActiveMQ 5.11的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人知道要从ActiveMQ 5.11的哪个jar中使用IBM Websphere Application Server 8.5才能创建新的ActiveMQ JMS Provider吗?

Does anybody know which jars from ActiveMQ 5.11 I need to use with IBM Websphere Application Server 8.5 in order to create a new ActiveMQ JMS Provider?

我发现相关的讨论到看起来不再适用的旧ActiveMQ版本,因为ActiveMQ的打包方式已更改:

I found discussions related to older ActiveMQ versions that don't seem applicable anymore because the way ActiveMQ is packaged has changed:

  • https://www.ibm.com/developerworks/community/blogs/timdp/entry/using_activemq_as_a_jms_provider_in_websphere_application_server_7149?lang=en

ActiveMQ 5.11似乎不再具有activemq-core,activeio-core位于可选,ActiveMQ似乎已从commons-logging切换到slf4j,由于WAS本身随附了slf4j jar的过时版本,因此它本身似乎会引起问题(请参见SO上的其他问题)。

ActiveMQ 5.11 doesn't seem to have activemq-core anymore, activeio-core is under "optional", and ActiveMQ seems to have switched from commons-logging to slf4j, which in itself seems to cause problems due to the fact that WAS itself ships an outdated version of the slf4j jars (see other questions here on SO).

任何建议都是值得赞赏的。

Any advice is highly appreciated.

推荐答案

弄清楚了。实际上,这真的很简单。在WAS控制台中,转到资源-> JMS-> JMS提供程序,然后创建新的提供程序,如下所示:

Figured it out. It's really simple actually. In the WAS console, go to Resources -> JMS -> JMS Providers, and create a new provider as:


  • Classpath:

  • Classpath:


  • C:/activemq-libs/activemq-client-5.10.0.jar

  • C :/activemq-libs/hawtbuf-1.10.jar

  • C:/activemq-libs/slf4j-api-1.7.5.jar

然后转到资源-> JMS->队列连接工厂并创建一个新的工厂,例如:

Then go to Resources -> JMS -> Queue Connection Factories and create a new one as:


  • 名称:myQCF

  • JNDI名称:jms / myQueueConnectionFactory

  • 外部JNDI名称:QueueConnectionFactory

您可以创建一个新队列,作为(资源-> JMS->队列):

You can create a new Queue as (Resources -> JMS -> Queues):


  • 名称:myQueue

  • JNDI名称:queue / myQueue

  • 外部JNDI名称:dynamicQueues / myQueue

马尔滕

这篇关于带有WebSphere Application Server 8.5的ActiveMQ 5.11的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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