ActiveMQ 5.11 with WebSphere Application Server 8.5

≡放荡痞女 提交于 2019-12-02 02:28:08

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:

    • 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
  • External initial context factory:org.apache.activemq.jndi.ActiveMQInitialContextFactory
  • External provider URL: tcp://myhost:61616

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

  • Name: myQCF
  • JNDI Name: jms/myQueueConnectionFactory
  • External JNDI Name: QueueConnectionFactory

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

  • Name: myQueue
  • JNDI Name: queue/myQueue
  • External JNDI Name: dynamicQueues/myQueue

Maarten

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!