This content has been marked as final.
Show 2 replies
-
1. Re: Bringing up the Queue created via Console
peterj Jan 16, 2007 3:04 PM (in response to vvd)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. -
2. Re: Bringing up the Queue created via Console
vvd Jan 17, 2007 9:02 AM (in response to vvd)Thanks peter for the clarification.
so I create a file destination-service.xml file and code with custom parameters.