[jboss-user] [Beginners Corner] - Re: configuring remote topic host and port

genman do-not-reply at jboss.com
Sat Oct 14 15:21:52 EDT 2006

Your MDB is running in a container. The container configuration tells JBoss how to listen to the topic. You can't connect within your MDB.

What you have to do is somehow bind the connection factory to JNDI and use this:


You can bind stuff to JNDI fairly easily by following this example:


To review:

1.  Create JNDI entries for Queue/Topic connection factories using an MBean.
2.  Create an MBean that follows the "remote JMS Provider" example.  Note: You're not using remote JNDI! Look up the resources locally.
3.  Create your MDB using this provider.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3978349#3978349

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3978349

More information about the jboss-user mailing list