If I create a remote-outbound-connection or a local-outbound-connection in the standalone*.xml is there a way from within a JBoss app to do a lookup on that name and get a Connector back? Passing the Connector to the context returned EJBClientContext.requireCurrent() should do the trick. Emulating DescriptorBasedEJBClientContextService.registerRemotingEJBReceivers does not seem to be practical. Would the approach outlined in http://community.jboss.org/thread/202591 work server to server or is it limited to client to server?
Thanks.