简体   繁体   中英

Accessing (Receive) from IBM MQ 8 with JMS running on TomEE 1.7.4 plus

Latest Tutorials provided by IBM for simple PRODUCE and CONSUME to IBM MQ 8/9 are pretty easy to implement.

Currently we have to figure out, how to read/receive Messages from one IBM MQ 8 Manager Queue out of an existing application.

Following setup:

  • IBM MQ 8
  • Applicationserver with Application running, which needs to access the MQ: TomEE 1.7.4 plus
  • No WebSphere
  • No JNDI

My expectation here is, that this will not work:

  • IBM MQ 8 needs JMS 2.0 features to connect
  • which needs Java EE 7
  • while TomEE 1.7.4 plus is Java EE 6 compatible (TomEE 7.x would be Java EE 7 compatible)

I would appreciate any help especially pointing me to an IBM MQ JMS implementation deployable to TomEE 1.7.x, using straight forward parameters for host, Q-Manager, Channel, Queue, User without JNDI.

Update#1: One good tutorial to create a simple consumer or producer for IBM MQ (working with 8 and 9) https://developer.ibm.com/messaging/learn-mq/mq-tutorials/develop-mq-jms/

Update#2: As expected, integrating this with TomEE 7.x seems to work fine. Unfortunately migrating the whole infrastructure and application dependencies is not an option to resolve it this way...

您已经在方括号中回答了自己的问题,如果您使用可与Java EE 7一起使用的TomEE 7.x,那将是很好的选择。

Since the requested combination is not possible, we skipped JMS integration and are using IBM MQ classes for Java . https://www.ibm.com/support/knowledgecenter/en/SSFKSJ_9.0.0/com.ibm.mq.dev.doc/q118320_.htm

JMS solution is prepared and can be integrated as soon as TomEEs are migrated to 7.x.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM