Uploaded image for project: 'WildFly WIP'
  1. WildFly WIP
  2. WFWIP-115

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

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Component/s: Artemis, JMS
    • Labels:
      None
    • Steps to Reproduce:
      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.

      Description

      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)

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  martyn-taylor Martyn Taylor
                  Reporter:
                  mstyk Martin Styk
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: