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.
Ok, it seems the ActiveMQ RA does not currently support JNDI lookup, see
I've raised a feature request for that: https://issues.apache.org/jira/browse/AMQ-4305.
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".