[jboss-user] [JBoss Messaging] - Re: Bringing up the Queue created via Console

PeterJ do-not-reply at jboss.com
Tue Jan 16 15:04:46 EST 2007


None of the changes made in the console are persistent, nor is there a way to persist them. You will always lose them when you restart the server.

To create persistent queue, create a *-service.xml file with contents such as:

<?xml version="1.0" encoding="UTF-8"?>
  | <server>
  |   <mbean code="org.jboss.jms.server.destination.Queue"
  |     name="your.name.here:service=Queue,name=yourQueueName"
  |     xmbean-dd="xmdesc/Queue-xmbean.xml">
  |     <depends optional-attribute-name="ServerPeer">
  |       jboss.messaging:service=ServerPeer
  |     </depends>
  |     </attribute>
  |   </mbean>
  | </server>

Place the file in the deploy directory.

(Hope I didn't mistype anything, converted from an existing topic descriptor.) For further details, read the JBoss Messaging documentation.



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

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



More information about the jboss-user mailing list