[jboss-jira] [JBoss JIRA] (WFLY-9305) ActiveMQ Resource Adapter can not lookup destination in app namespace

Jeff Mesnil (JIRA) issues at jboss.org
Wed Sep 6 08:09:00 EDT 2017


     [ https://issues.jboss.org/browse/WFLY-9305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeff Mesnil moved JBEAP-13022 to WFLY-9305:
-------------------------------------------

              Project: WildFly  (was: JBoss Enterprise Application Platform)
                  Key: WFLY-9305  (was: JBEAP-13022)
             Workflow: GIT Pull Request workflow   (was: CDW with loose statuses v1)
          Component/s: JMS
                       Naming
                           (was: JMS)
                           (was: Naming)
    Affects Version/s:     (was: 7.1.0.ER2)


> ActiveMQ Resource Adapter can not lookup destination in app namespace
> ---------------------------------------------------------------------
>
>                 Key: WFLY-9305
>                 URL: https://issues.jboss.org/browse/WFLY-9305
>             Project: WildFly
>          Issue Type: Bug
>          Components: JMS, Naming
>            Reporter: Jeff Mesnil
>            Assignee: Jeff Mesnil
>
> When using JMSDefinition defining a non-global JNDI name, Queue/Topic isn't created and MDB listening to those won't read incoming messages.
> Example using non global JNDI (this doesn't work (x) ):
> {code:java}
> @JMSDestinationDefinition(
>     name = "java:app/jms/queue", 
>     interfaceName = "javax.jms.Queue"
> )
> {code}
> Example using global JNDI (this works (/)):
> {code:java}
> @JMSDestinationDefinition(
>     name = "java:/app/jms/queue", 
>     interfaceName = "javax.jms.Queue"
> )
> {code}
> When using the non-global JNDI and deploying, a message like this can be seen:
> {noformat}
> 13:20:15,542 INFO  [org.apache.activemq.artemis.ra] (default-threads - 2) AMQ151001: Attempting to reconnect org.apache.activemq.artemis.ra.inflow.ActiveMQActivationSpec(ra=org.apache.activemq.artemis.ra.ActiveMQResourceAdapter at 78712571 destination=java:app/jms/queue destinationType=javax.jms.Queue ack=Auto-acknowledge durable=false clientID=null user=null maxSession=15)
> {noformat}
> and creating an MDB to listen sent messages won't receive any.
> Attached a reproducer WAR Maven project. Just deploy, access index.xhtml, click on "Test" button and check logs.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list