I found the solution. The trick is the "useJndi" ActivationConfigProperty
@MessageDriven(
activationConfig = {
@ActivationConfigProperty(propertyName = "destination", propertyValue =
"java://activemq/Queue.Notifications.Project"),
@ActivationConfigProperty(propertyName = "destinationTy
I am using an ActiveMQ resource adapter to connect to a remote ActiveMQ queue
on a wildfly server. I have the following code in my jboss-ejb.xml to set up
my resource adapter
MyNotificationMDB
mq-ra
This maps to the following MDB
@MessageDriven(
activationConfig = {
@ActivationConf