2 Replies Latest reply on Mar 31, 2006 2:38 PM by vincent.yuan

    question about JMS Queue info in jbossmq-destinations-servic

    madalvi

      I have some code which writes data to Queue and MDB reads from that Queue.

      I don't have Queue entry in jbossmq-destinations-service.xml.
      So when I start JBoss server I get following in log file.


      WARN [org.jboss.ejb.plugins.jms.JMSContainerInvoker] destination not found: queue/CustErrQueue reason: javax.naming.NameNotFoundException: CustErrQueue not bound
      WARN [org.jboss.ejb.plugins.jms.JMSContainerInvoker] creating a new temporary destination: queue/CustErrQueue
      INFO [org.jboss.mq.server.jmx.Queue.VDNMDB] Bound to JNDI name: queue/CustErrQueue


      I was reading this
      http://docs.jboss.org/jbossas/getting_started/v4/html/mdb.html

      What I think is:
      if we don't specify queue information in jbossmq-destinations-service.xml, Jboss will still create the queue.

      Am I correct here?
      In which case I would put queue info in jbossmq-destinations-service.xml?