[jboss-user] [JBoss Messaging] - Re: JBoss Messaging RA configuration

timfox do-not-reply at jboss.com
Fri Feb 15 07:04:39 EST 2008


"kdeboer" wrote : Thanks for the link. I was aware of this wiki page.
  | But there is something unclear to me:
  | If you have a handle to a remote connectionFactory, how can you get a handle to a queue running in a remote server. Is this automatically done in the correct JNDI namespace (the remote server one) or are other tricks needed. 
  | 

You can either use a resource-ref to reference the remote queue or create an initial context using the remote provider jndi properties, see:

http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossMQHAOverview for some examples.

E.g.

anonymous wrote : 
  | <resource-ref>
  |     <res-ref-name>jms/Queue</res-ref-name>
  |     <jndi-name>jnp://myremoteserver:1099/queue/A</jndi-name>
  |   </resource-ref>
  | 



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

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



More information about the jboss-user mailing list