Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within JBoss/WildFly
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
JBoss/WildFly
Remove "queue" prefix from JMS jndi name
Regis Santos
Ranch Hand
Posts: 31
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hello,
I did the following configuration in jbossmq-destinatiions-service.xml
<mbean code="org.jboss.mq.server.jmx.Queue" name="jboss.mq.destination:service=Queue, name=jms/mdb/MyQueue"> <depends optional-attribute-name="DestinationManager"> jboss.mq:service=DestinationManager </depends> </mbean>
When I started the
JBoss
, the server binds the queue to "queue/jms/mdb/MyQueue".
How can I remove the "queue/" from the bound JNDI name?
Thanks,
Regis Santos
Jaikiran Pai
Sheriff
Posts: 10445
227
I like...
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Add the following to your configuration
<mbean code="org.jboss.mq.server.jmx.Queue" name="jboss.mq.destination:service=Queue, name=jms/mdb/MyQueue"> <depends optional-attribute-name="DestinationManager"> jboss.mq:service=DestinationManager </depends> [B]<attribute name="JNDIName">jms/mdb/MyQueue</attribute>[/B] </mbean>
More details can be found in Section 6.3.11.1 at
Messaging in JBoss
[
My Blog
] [
JavaRanch Journal
]
Honk if you love justice! And honk twice for tiny ads!
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
JMS DestinationManager Not Yet Installed
Just check my configuration please
how to configure jboss for jms
JBossmq NameNotFoundException, myqueue not bound
JMS topic and queue
More...