Multiple choice technology platforms and products

A MDB deployed in a weblogic server is configured to listen to a queue by a foreign JMS provider (IBM Websphere MQ). In this scenario, the onMessage method of MDB will be running under:

  1. a thread of foreign jms provider

  2. a thread of weblogic server

  3. depends upon whether MDB is transactional or not. If transactional, it runs under weblogic thread, if non transactional it runs under foreign jms provider thread

  4. depends upon whether MDB is transactional or not. If transactional, it runs under foreign jms provider thread, if non transactional it runs under weblogic thread

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

For foreign JMS providers with WebLogic MDBs, transactional MDBs run under WebLogic threads (managed context), while non-transactional MDBs can run under the foreign provider's threads. WebLogic uses synchronous polling for transactional cases to maintain transactional integrity.