-
1. Re: Using JNDI name for ActiveMQ queue in MDB?
jbertram Feb 7, 2013 10:55 AM (in response to hwellmann.de)Whether or not you can use a JNDI name in your activation configuration properties depends on whether or not the ActiveMQ JCA RA supports that option. You should consult the ActiveMQ documentation on this or ask on their forum.
-
2. Re: Using JNDI name for ActiveMQ queue in MDB?
hwellmann.de Feb 8, 2013 11:32 AM (in response to jbertram)Ok, it seems the ActiveMQ RA does not currently support JNDI lookup, see
http://mail-archives.apache.org/mod_mbox/activemq-users/201302.mbox/%3CCAH+vQmNH3ak8d0Ud+qq1rZ=XY+U8bjcEkQ48BFdWiu-tysgK9A@mail.gmail.com%3E01302.mbox/%3CCAH+vQmNH3ak8d0Ud+qq1rZ=XY+U8bjcEkQ48BFdWiu-tysgK9A@mail.gmail.com%3E
I've raised a feature request for that: https://issues.apache.org/jira/browse/AMQ-4305.
Best regards,
Harald
-
3. Re: Using JNDI name for ActiveMQ queue in MDB?
clymbon Dec 2, 2015 2:24 PM (in response to hwellmann.de)The answer given is correct. However, the latest information on ActiveMQ RA indicates that it DOES support JNDI naming of JMS destinations. Your example code is, I think, the right way to do it, with one minor bug which is probably why it didn't work for you. The activation property you need to set is "useJndi", not "useJNDI".