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


Correct Option: C

Find more quizzes: