"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
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to