My Oracle Support Banner

Message Driven Bean Does not Receive JMS Messages in Oracle Application Server 10.1.2.3 (Doc ID 1297038.1)

Last updated on JULY 03, 2020

Applies to:

Oracle Containers for J2EE - Version 10.1.2.3.0 and later
Information in this document applies to any platform.

Symptoms


A Message Driver Bean (MDB) is deployed into Oracle Application Server 10.1.2.3.0 container.

The related descriptor of this MDB bean is the following :

<ejb-jar>
..
<message-driven>
<display-name>MDBAuditoria</display-name>
<ejb-name>mdbAuditoria</ejb-name>
<ejb-class>com.setecsa.audit.mdb.MDBAuditoria</ejb-class>
<transaction-type>Container</transaction-type>
<message-selector>RECIPIENT='MDB'</message-selector>
<message-driven-destination>
<destination-type>javax.jms.Queue</destination-type>
</message-driven-destination>
</message-driven>
..
<assembly-descriptor>
<container-transaction>
<method>
<ejb-name>mdbAuditoria</ejb-name>
<method-name>onMessage</method-name>
<method-params>
<method-param>javax.jms.Message</method-param>
</method-params>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
</assembly-descriptor>




When sending JMS message, the onMessage () method of the MDB is not invoked.
Therefore, the MDB bean does not receive any JMS message.

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.