1 Reply Latest reply on Mar 16, 2012 7:57 AM by poz

    awaiting topic/queue creation jms/queue/useCase - MDB jboss 7.1

    emrenak

      Hello   I am just trying to connect to a JMS queue using a message driven bean.

       

      However after the bean is started, the bean is trying to connecto to queue a few times but could not succeed. 

       

      What could be the reason. Any help is appreciated.

       

      The below is a log example:

       

      Started message driven bean 'JmsMessageListener' with 'hornetq-ra' resource adapter

       

      14:20:28,249 INFO  [org.hornetq.ra.inflow.HornetQActivation] (default-short-running-threads-threads - 1) Attempting to reconnect org.hornetq.ra.inflow.HornetQActivationSpec(ra=org.hornetq.ra.HornetQResourceAdapter@242888 destination=jms/queue/useCase destinationType=javax.jms.Queue ack=Auto-acknowledge durable=false clientID=null user=usecase2 password=**** maxSession=15)

      14:20:28,259 INFO  [org.hornetq.ra.inflow.HornetQActivation] (default-short-running-threads-threads - 1) awaiting topic/queue creation jms/queue/useCase

       

      My standalone.xml file and the ejb-jar.xml files are attached.

       

      Regards

      -emre

        • 1. Re: awaiting topic/queue creation jms/queue/useCase - MDB jboss 7.1
          poz

          Try to change line 24 of ejb-jar.xml in

           

               <activation-config-property-value>queue/useCase</activation-config-property-value>

           

           

          and try changing in standalone.xml

           

                              <jms-queue name="useCaseQueue">

                                  <entry name="java:/queue/useCase"/>

                              </jms-queue>