Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-1621

[Artemis 2.x Upgrade] Auto-create-queue creates runtime queue without jms.queue prefix

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • None
    • Hide
      git clone git://git.app.eng.bos.redhat.com/jbossqe/eap-tests-hornetq.git
      cd eap-tests-hornetq/scripts/
      groovy -DEAP_ZIP_URL=<CURRENT_DIST_URL> PrepareServers7.groovy
      export WORKSPACE=$PWD
      export JBOSS_HOME_1=$WORKSPACE/server1/jboss-eap
      export JBOSS_HOME_2=$WORKSPACE/server2/jboss-eap
      export JBOSS_HOME_3=$WORKSPACE/server3/jboss-eap
      export JBOSS_HOME_4=$WORKSPACE/server4/jboss-eap
      
      cd ../jboss-hornetq-testsuite/
      mvn clean test -Dtest=AutoCreateQueueTestCase#testAutoDeleteQueueDisabled -Deap7.org.jboss.qa.hornetq.apps.clients.version=<CLIENT_VERSION> | tee log
      

      Test fails at the end on attempt to get count of messages from auto created queue testQueue. It looks for jms.queue.testQueue runtime queue, however it doesn't exist.

      Show
      git clone git://git.app.eng.bos.redhat.com/jbossqe/eap-tests-hornetq.git cd eap-tests-hornetq/scripts/ groovy -DEAP_ZIP_URL=<CURRENT_DIST_URL> PrepareServers7.groovy export WORKSPACE=$PWD export JBOSS_HOME_1=$WORKSPACE/server1/jboss-eap export JBOSS_HOME_2=$WORKSPACE/server2/jboss-eap export JBOSS_HOME_3=$WORKSPACE/server3/jboss-eap export JBOSS_HOME_4=$WORKSPACE/server4/jboss-eap cd ../jboss-hornetq-testsuite/ mvn clean test -Dtest=AutoCreateQueueTestCase#testAutoDeleteQueueDisabled -Deap7.org.jboss.qa.hornetq.apps.clients.version=<CLIENT_VERSION> | tee log Test fails at the end on attempt to get count of messages from auto created queue testQueue . It looks for jms.queue.testQueue runtime queue, however it doesn't exist.

      Auto-create-jms-queue feature of EAP 7.1 creates runtime queues with name pattern "jms.queue.<QUEUE_NAME>".

      With Artemis 2.5, auto-create-queue is a successor of deprecated auto-create-jms-queue feature. Auto-create-queue creates queues with name pattern "<QUEUE_NAME>".

      session.createQueue("testQueue")
      -->  "jms.queue.testQueue" (EAP 7.1 + Artemis 1.5, auto-create-jms-queue=true)
      -->  "testQueue" (Artemis 2.5, auto-create-queue=true)
      

      This feature is not supported.

      Issue was hit with Artemis 2.5.0 with https://github.com/jmesnil/wildfly/tree/WFLY-9407_upgrade_artemis_2.4.0_with_prefix (commit 51dd8102f103ccb0470a3cfc8713d3f9bdb1b65d)

              mtaylor1@redhat.com Martyn Taylor (Inactive)
              mtoth@redhat.com Michal Toth
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:

                  Estimated:
                  Original Estimate - 2 days
                  2d
                  Remaining:
                  Remaining Estimate - 2 days
                  2d
                  Logged:
                  Time Spent - Not Specified
                  Not Specified