"That was easy!!!" - sigh...
| InitialContext localCtx = new InitialContext();
| JNDIProviderAdapter jmsProvider = (JNDIProviderAdapter)
localCtx.lookup("java:/RemoteJMSProvider");
| Properties jmsProviderProps = jmsProvider.getProperties();
| InitialContext remoteCtx = new InitialContext(jmsProviderProps);
| Destination topic = (Destination) remoteCtx.lookup("queue/test");
|
Note: You will need to include jboss.jar in build path.
Cheers,
Erik
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3966235#3966235
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3966235
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user