[jboss-user] [Messaging, JMS & JBossMQ] - Re: configure queue
bfach
do-not-reply at jboss.com
Mon Apr 21 11:22:59 EDT 2008
I assume you are running the dafault server. In this case you would edit the destinations-service.xml under default.
The xml snippet is what you need to deploy a queue, copy it and change the following
name=DLQ to name= (whatever you want)
SO it should look like this if queue name is "yourQueueName"
<mbean code="org.jboss.jms.server.destination.QueueService" name="jboss.messaging.destination:service=Queue,name=yourQueueName" xmbean-dd="xmdesc/Queue-xmbean.xml">
@org.jboss.system.deployers.managed.ManagementObjectClass(code=org.jboss.jms.server.destination.Queu
eServiceMO)
<depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer
jboss.messaging:service=PostOffice
</ depends>
</ mbean>
So just copy the DLQ xml snippet, paste and change the DLQ to you queue name. Restart JBoss, check the JMX Console to see if the queue is there. It should be in the same location as the DLQ queue.
bfach
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4145566#4145566
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4145566
More information about the jboss-user
mailing list