[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 226
  • Last Modified:

MQ server integration with MD Bean

We are using MQServer to define a Queue and an MDBean to listen to that queue. MDBean is deployed in Web Logic8.1 environment.

We need that after invoking onMessage(), the message also remains on the queue, so that if something happens to MQServer/ system before we save the message, it can be taken from the queue as soon as the system is up.

Can we use container managed transaction for my MDBean?
Can the same be used in a clustered environment as well?
1 Solution
You need to explore using MQGMO options from your MDB client.
Better still, use the MQ Series adapter/control provided with BEA - this will exactly as you want to and gives you more reliability.

this is how your req doc code will look like when included with MQGMO Browse option:-

Refer http://edocs.bea.com/wladapters/mq/docs81/pdf/user.pdf



Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now