Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-2545

Auto queue creation does not work with MDBs

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.10.1
    • 2.19.0
    • None
    • None

    Description

      Using an Artemis server configured for automated queue creation and an MDB with the following activation configuration:

      @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"),
      })

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bjetal Bob Mitchell
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h