-
1. Re: jbossmq-destinations-service.xml
vinays Dec 31, 2002 10:33 AM (in response to schnelzer)Atleast from the quick start documentation, it seeems that all queues wd be created under queue subcontext and topics under the topic subcontext.
So the JNDI name seems to be always the combination of the subcontext (say queue) and the mbean name that you provide in jbossmq-destinations-service.xml
eg:
<depends optional-attribute- name="DestinationManager">jboss.mq:service=DestinationManager
hence the jndi name wd be "queue/A" -
2. Re: jbossmq-destinations-service.xml
mkerry Mar 3, 2003 10:49 PM (in response to schnelzer)I believe you can change the jndi name of a destination by adding an attribute tag, as follows (this will define a queue that is accessible by the jndi name "jms/MyQueue"):
<depends optional-attribute- name="DestinationManager">
jboss.mq:service=DestinationManager
jms/MyQueue -
3. Re: jbossmq-destinations-service.xml
mkerry Mar 3, 2003 10:51 PM (in response to schnelzer)Sorry, I also meant to change the line:
name="jboss.mq.destination:service=Queue,name=A">
to
name="jboss.mq.destination:service=Queue,name=MyQueue">
You get the idea, though...