geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ellen Tang <ltang.el...@gmail.com>
Subject Re: [Geronimo 2.1] add a Queue JNDI ref in ejb-jar.xml? sending JMS from an EJB/MDB
Date Thu, 05 Nov 2009 01:52:57 GMT
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.
>
>

Mime
View raw message