JBoss Community

Calls against multiple servers from a single client

created by Tarek Hammoud in JBoss AS 7 Development - View the full discussion



We have a need to invoke remote EJB calls against multiple servers. The invoker is a scheduling engine and the targets are client specific instances. We configure an EJB Client Selector per remote host. Looking closely at EJBClientContext.setSelector(selector), this method is using a static variable called (SELECTOR) and not a thread local. i.e You can not use this from multiple threads simultaneously without turning the invoker into a single threaded process. Undersirable for the use case at hand. Is there any workaround for this? Thank you for all your help in this.

Reply to this message by going to Community

Start a new discussion in JBoss AS 7 Development at Community