ejb-jar.xml
<message-driven>
<description><![CDATA[Description for Message]]></description>
<display-name>Name for Message</display-name>
<ejb-name>MessageBeanEJB</ejb-name>
<ejb-class>crm.common.JMSReceiverDataMessageEJB</ejb-class>
<transaction-type>Container</transaction-type>
<acknowledge-mode>Auto-acknowledge</acknowledge-mode>
<message-driven-destination>
<destination-type>javax.jms.Queue</destination-type>
</message-driven-destination>
</message-driven>
<container-transaction>
<method>
<ejb-name>MessageBeanEJB</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>NotSupported</trans-attribute>
</container-transaction>
weblogic-ejb-jar.xml
<weblogic-enterprise-bean>
<ejb-name>MessageBeanEJB</ejb-name>
<message-driven-descriptor>
<pool>
<max-beans-in-free-pool>20</max-beans-in-free-pool>
<initial-beans-in-free-pool>1</initial-beans-in-free-pool>
</pool>
<destination-jndi-name>jms/fileQueue</destination-jndi-name>
<connection-factory-jndi-name>jms/QueueConnectionFactory</connection-factory-jndi-name>
</message-driven-descriptor>
<enable-call-by-reference>True</enable-call-by-reference>
<jndi-name>jms/fileQueue</jndi-name>
</weblogic-enterprise-bean>
<message-driven>
<description><![CDATA[Description for Message]]></description>
<display-name>Name for Message</display-name>
<ejb-name>MessageBeanEJB</ejb-name>
<ejb-class>crm.common.JMSReceiverDataMessageEJB</ejb-class>
<transaction-type>Container</transaction-type>
<acknowledge-mode>Auto-acknowledge</acknowledge-mode>
<message-driven-destination>
<destination-type>javax.jms.Queue</destination-type>
</message-driven-destination>
</message-driven>
<container-transaction>
<method>
<ejb-name>MessageBeanEJB</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>NotSupported</trans-attribute>
</container-transaction>
weblogic-ejb-jar.xml
<weblogic-enterprise-bean>
<ejb-name>MessageBeanEJB</ejb-name>
<message-driven-descriptor>
<pool>
<max-beans-in-free-pool>20</max-beans-in-free-pool>
<initial-beans-in-free-pool>1</initial-beans-in-free-pool>
</pool>
<destination-jndi-name>jms/fileQueue</destination-jndi-name>
<connection-factory-jndi-name>jms/QueueConnectionFactory</connection-factory-jndi-name>
</message-driven-descriptor>
<enable-call-by-reference>True</enable-call-by-reference>
<jndi-name>jms/fileQueue</jndi-name>
</weblogic-enterprise-bean>