Hi Guys, I am trying to configure the Container in tomee.xml of type MESSAGE and define MDB in env-jar.xml. Tomee should automatically link the MDB to the container but it does not work for me. The MDB does not read messages of the queue. I followed the steps mentioned in the link below plus I added the MDB definition in env-jar.xml
http://tomee.apache.org/tomee-and-webspheremq.html I tried exactly same setup with activeMQ and it works fine. Is there any other setting/config required ? The MDB works fine when I just define all the properties in enb-jar.xml as below without using Container in tomee.xml <message-driven> <ejb-name>beanName</ejb-name> <ejb-class>beanClass</ejb-class> <messaging-type>javax.jms.MessageListener</messaging-type> <transaction-type>Bean</transaction-type> <message-destination-type>javax.jms.Queue</message-destination-type> <activation-config> <activation-config-property> <activation-config-property-name>destinationType</activation-config-property-name> <activation-config-property-value>javax.jms.Queue</activation-config-property-value> </activation-config-property> <activation-config-property> <activation-config-property-name>destination</activation-config-property-name> <activation-config-property-value>*queueName*</activation-config-property-value> </activation-config-property> <activation-config-property> <activation-config-property-name>channel</activation-config-property-name> <activation-config-property-value>*channelName*</activation-config-property-value> </activation-config-property> <activation-config-property> <activation-config-property-name>hostName</activation-config-property-name> <activation-config-property-value>*hostName*</activation-config-property-value> </activation-config-property> <activation-config-property> <activation-config-property-name>port</activation-config-property-name> <activation-config-property-value>1414</activation-config-property-value> </activation-config-property> <activation-config-property> <activation-config-property-name>queueManager</activation-config-property-name> <activation-config-property-value>*queueManager*</activation-config-property-value> </activation-config-property> <activation-config-property> <activation-config-property-name>transportType</activation-config-property-name> <activation-config-property-value>CLIENT</activation-config-property-value> </activation-config-property> </activation-config> -- View this message in context: http://tomee-openejb.979440.n4.nabble.com/Tomee-and-wmq-MDB-container-tp4681190.html Sent from the TomEE Users mailing list archive at Nabble.com.
