You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Fernando Troya <fe...@fluxit.com.ar> on 2014/04/16 15:28:57 UTC

MDB declared destination in ejb-jar.xml

Hi, in the documentation (
http://activemq.apache.org/inbound-communication.html and
http://activemq.apache.org/activation-spec-properties.html) it states that
the destinations declared in ejb-jar.xml are physical queue names and not
JNDI names.

Is it possible to use JNDI queue names in MDBs? Is this documentation
up-to-date?

Thanks

Re: MDB declared destination in ejb-jar.xml

Posted by Gary Tully <ga...@gmail.com>.
They are physical names by default but there is a property, useJndi
and it will try and resolve from there

see an example at:
https://github.com/gtully/activemq-arquillian/blob/master/javaee/mdb-tx-send/src/main/java/org/hornetq/javaee/example/server/MDBMessageSendTxExample.java#L41


On 16 April 2014 14:28, Fernando Troya <fe...@fluxit.com.ar> wrote:
> Hi, in the documentation (
> http://activemq.apache.org/inbound-communication.html and
> http://activemq.apache.org/activation-spec-properties.html) it states that
> the destinations declared in ejb-jar.xml are physical queue names and not
> JNDI names.
>
> Is it possible to use JNDI queue names in MDBs? Is this documentation
> up-to-date?
>
> Thanks



-- 
http://redhat.com
http://blog.garytully.com