Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-18820

Queue creation might fail if auto-create-addresses is set to false

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 31.0.0.Final
    • 30.0.0.Final
    • JMS
    • None

      When using a remote Artemis broker with auto creation disabled with an external jms queue, the creation of the queue from WildFly might fail because of the missing address.

       

      Error starting the external queue service WFLYMSGAMQ0099: Creating the remote destination HelloWorldMDBQueue failed with error ["AMQ229203: Address Does Not Exist: HelloWorldMDBQueue"]: org.jboss.msc.service.StartException in anonymous service: WFLYMSGAMQ0099: Creating the remote destination HelloWorldMDBQueue failed with error ["AMQ229203: Address Does Not Exist: HelloWorldMDBQueue"]
              at org.wildfly.extension.messaging-activemq//org.wildfly.extension.messaging.activemq.jms.DestinationConfiguration.createQueue(DestinationConfiguration.java:98)
              at org.wildfly.extension.messaging-activemq//org.wildfly.extension.messaging.activemq.jms.ExternalJMSQueueService.start(ExternalJMSQueueService.java:102)
              at org.jboss.msc@1.5.2.Final//org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1617)
              at org.jboss.msc@1.5.2.Final//org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1580)
              at org.jboss.msc@1.5.2.Final//org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1438)
              at org.jboss.threads@2.4.0.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
              at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990)
              at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
              at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1363)
              at java.base/java.lang.Thread.run(Thread.java:829)
      

       

            ehugonne1@redhat.com Emmanuel Hugonnet
            ehugonne1@redhat.com Emmanuel Hugonnet
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: