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.
anonymous wrote : 
  | 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?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934029#3934029

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3934029


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to