[jboss-user] [JBoss Messaging] - JMB2 Beta3 and JBAS51 - Using jbm-jms.xml to define queues.

simon_temple do-not-reply at jboss.com
Fri Jul 17 12:32:45 EDT 2009


I tried creating my own jbm-jms.xml file and dropped it in the deploy folder but it doesn't look like it's deployed.  i.e.  I can't see the queue or topic when looking at the JMX Console (I added the JMX work-around to see org.jboss.messaging)

Is the jbm-jms.xml file only processed  when in the messaging.sar folder or can I configure where the configuration file(s) live?  Can I have multiple configuration files or do I need to maintain one master?

When the queues used to be created via MBeans we made our services depend upon the queue MBeans ensuring that queues were created before the services started.  How can we ensure this startup dependency with JBM2?

TIA


My jbm-jms.xml

<configuration xmlns="urn:jboss:messaging"
  |             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  |             xsi:schemaLocation="urn:jboss:messaging /schema/jbm-jms.xsd">
  | 
  |    <queue name="MyQueue">
  |       <entry name="/queue/MyQueue"/>
  |    </queue>
  | 
  |    <topic name="MyTopic">
  |       <entry name="/topic/MyTopic"/>
  |    </topic>
  | 
  | </configuration>
  | 

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

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



More information about the jboss-user mailing list