[jboss-user] [Messaging, JMS & JBossMQ] - Re: configure queue

vikrant1 do-not-reply at jboss.com
Sat Apr 19 09:16:16 EDT 2008


That file is at the following:
C:\jboss-5.0.0.Beta4\server\all\deploy\messaging\destinations-service.xml
C:\jboss-5.0.0.Beta4\server\default\deploy\messaging\destinations-service.xml
which one do I edit?  Also there is no testQueue. Both xml files contain the following:

<?xml version="1.0" encoding="UTF-8" ?> 
  | - <!--      Messaging Destinations deployment descriptor.
  | 
  |      $Id: destinations-service.xml 64130 2007-07-18 23:21:27Z clebert.suconic at jboss.com $
  |  
  |   --> 
  | - <server>
  | - <!--       The Default Dead Letter Queue. This destination is a dependency of an EJB MDB container.
  |    
  |   --> 
  | - <mbean code="org.jboss.jms.server.destination.QueueService" name="jboss.messaging.destination:service=Queue,name=DLQ" xmbean-dd="xmdesc/Queue-xmbean.xml">
  |   <annotation>@org.jboss.system.deployers.managed.ManagementObjectClass(code=org.jboss.jms.server.destination.QueueServiceMO)</annotation> 
  |   <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends> 
  |   <depends>jboss.messaging:service=PostOffice</depends> 
  |   </mbean>
  | - <!--       The Default Expiry Queue.
  |    
  |   --> 
  | - <mbean code="org.jboss.jms.server.destination.QueueService" name="jboss.messaging.destination:service=Queue,name=ExpiryQueue" xmbean-dd="xmdesc/Queue-xmbean.xml">
  |   <annotation>@org.jboss.system.deployers.managed.ManagementObjectClass(code=org.jboss.jms.server.destination.QueueServiceMO)</annotation> 
  |   <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends> 
  |   <depends>jboss.messaging:service=PostOffice</depends> 
  |   </mbean>
  |   </server>

The JNDI name of my connection factory is 'QueueConnectionFactory' and the JNDI name of my queue is 'queue/ExA2Queue'. What do I need to edit in the xml

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

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



More information about the jboss-user mailing list