uttam kumar wrote:destinations-service.xml is used to tell JBoss the queues/topics need to be created in order to deploy the applications. Go through the xml file and see how a queue/topic has been created and create your own queue/topic in the same manner.
I have just see the contents of xml file, but there aren't any examples that can explain me what i have to do for configuring a queue.
I don't know how to set attributes in mbean...
<mbean code="org.jboss.jms.server.destination.QueueService"
name="jboss.messaging.destination:service=Queue,name=MyQueue"
xmbean-dd="xmdesc/Queue-xmbean.xml">
<depends optional-attribute-name="ServerPeer">
jboss.messaging:service=ServerPeer
</depends>
<depends>jboss.messaging:service=PostOffice</depends>
<attribute name="JNDIName">queue/MyQueue</attribute>
<attribute name="RedeliveryDelay">10000</attribute>
<attribute name="MaxDeliveryAttempts">3</attribute>
</mbean>
This example does not explain how to configure a queue like mine.
Can you write me an example where you put my custom attribute (listed in the previous post above) in the mbean?
Thanks