Hi,

You can refer to the Geronimo documentation for instructions about all kinds of deployment plans in Geronimo. This is the link of relevant topics in the G doc: http://cwiki.apache.org/GMOxDOC22/creating-deployment-plans.html.

Hope it helps.

Ellen

2009/10/23 easyl <easy.lin@gmail.com>

OK, I found a quick fix....

in ejb-jar.xml

<enterprise-beans>

       <message-driven>
               <ejb-name>jms/myMDB</ejb-name>
               .....
               <!--  referred queue -->
               <resource-env-ref>

<resource-env-ref-name>jms/anotherQueue</resource-env-ref-name>

<resource-env-ref-type>javax.jms.Queue</resource-env-ref-type>
               </resource-env-ref>

       </message-driven>
</enterprise-beans>

I must admit, I still don't understand how to write a correct deployment
plan. I just goggle, copy, paste.....and mix up those deployment plans.

--
View this message in context: http://www.nabble.com/-Geronimo-2.1--add-a-Queue-JNDI-ref-in-ejb-jar.xml--sending-JMS-from-an-EJB-MDB-tp26025166s134p26026848.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.