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
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to