What's wrong with setting @ActivationConfigProperty(propertyName = "useJNDI", propertyValue = "true") ? You should be able to use JNDI names then.
thanks for your response. Setting useJNDI shows no effect. JBoss is still using the JNDI name as name of the queue.
The activation configuration properties are used by the ActiveMQ JCA Resource Adapter. You'll need to check with the ActiveMQ community/developers to see if their RA supports using the JNDI name of the destination rather than the physical name. There's nothing JBossAS/Wildfly can do about it.
thank you for your answer and sorry for me late response.
I will check that and come back if there are any further questions.