We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

Configuration Namespace Topic

loucker
loucker asked
on
Medium Priority
181 Views
Last Modified: 2012-05-11
Hello everyone,
 
I'm facing a problem I can't understand.
 
At work, we maintain a application using jbossmq on jboss 4.0.5.
 
This application has got ejb2  mdb listening to queues and topics.
 
For instance here a mdb listening to a topic (jboss.xml):
<jboss>

<enterprise-beans>

    <message-driven>

    <ejb-name>MyTopicConsumerBean</ejb-name>

    <destination-jndi-name>PUBLICATION_TOPIC</destination-jndi-name>

    <mdb-user>USER</mdb-user>

    <mdb-passwd>U$€r</mdb-passwd>

    <mdb-subscription-id>user1</mdb-subscription-id>

    <configuration-name>Singleton Message Driven Bean</configuration-name>

    <invoker-bindings>

        <invoker>

            <invoker-proxy-binding-name>myTopicconsumer-mdb-invoker</invoker-proxy-binding-name>

        </invoker>

    </invoker-bindings>

</message-driven>

.....

</jboss>

 

 

 

We see that the jndi name is not prefixed by "topic/" ( the same goes for queues, no prefix)

What I don't understand is how did the application manage to run until today ? Is there a configuration on the jboss to pass through the need of prefix ?

Thank you for your support.

Comment
Watch Question

Mick BarryJava Developer
CERTIFIED EXPERT
Top Expert 2010

Commented:
think the prefix is controlled in your mbean configuration

Author

Commented:
Have you a tutorial or documentaton on your comment ?
Mick BarryJava Developer
CERTIFIED EXPERT
Top Expert 2010

Commented:
no, not handy. Will see what I can find
whats your configuration look like?

Mick BarryJava Developer
CERTIFIED EXPERT
Top Expert 2010

Commented:

Author

Commented:
I don't see any reference on your precedent comment can you precise your response.
Java Developer
CERTIFIED EXPERT
Top Expert 2010
Commented:
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a free trial preview!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.