users@glassfish.java.net

Re: JMS Vodoo

From: <glassfish_at_javadesktop.org>
Date: Mon, 11 Aug 2008 22:56:03 PDT

Hi,
Its because the physical destination name for both the Queues you have created are the same and points to "PhysicalQueue", which means both MDBs are consuming out of the same queue destination.
Please provide different physical queue names for the admin object resources, modified xml shown below

1st sun-resources xml

 "<admin-object-resource enabled="true" jndi-name="jms/MTester" object-type="user" res-adapter="jmsra" res-type="javax.jms.Queue">
    <description/>
    <property name="Name" value="MTesterQueue"/>'

2nd sun-resources.xml

<admin-object-resource enabled="true" jndi-name="jms/SalesOrderSubmitLogger" object-type="user" res-adapter="jmsra" res-type="javax.jms.Queue">
<description/>
<property name="Name" value="SalesOrderSubmitLoggerQueue"/>

Thanks
-Ramesh
[Message sent by forum member 'rampsarathy' (rampsarathy)]

http://forums.java.net/jive/thread.jspa?messageID=292764