Bob Mitchell created ARTEMIS-2545:
-------------------------------------

             Summary: Auto queue creation does not work with MDBs
                 Key: ARTEMIS-2545
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2545
             Project: ActiveMQ Artemis
          Issue Type: Bug
    Affects Versions: 2.10.1
            Reporter: Bob Mitchell


Using an Artemis server configured for automated queue creation and an MDB with 
the following activation configuration:
{code:java}
@MessageDriven(activationConfig = {
        @ActivationConfigProperty(propertyName = "destination", propertyValue = 
"MyQueue"),
        @ActivationConfigProperty(propertyName = "useJNDI", propertyValue = 
"false"),
        @ActivationConfigProperty(propertyName = "connectionFactoryLookup", 
propertyValue = "jms/ArtemisQueueConnectionFactory"),
        @ActivationConfigProperty(propertyName = "destinationType", 
propertyValue = "javax.jms.Queue"),
}){code}
The "MyQueue" queue does not get automatically created, causing startup to fail.

This is particularly a pain with a clustered Artemis, because you then have to 
create the queue on every node in the cluster.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to