I created a queue by adding code below in jbossmq-destinations-service.xml.
<mbean code="org.jboss.mq.server.jmx.Queue"
name="jboss.mq.destination:service=Queue,name=myqueue">
<depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
</mbean>
The queue does show in jmx-console. But when I access it from a client app, which is independent from
JBoss, I got "NameNotFoundException, myqueue not bound". Does anyone know what's wrong? Have I missed anything?
Thanks in advance!