[jboss-dev-forums] [JBoss AS 7 Development] - Calls against multiple servers from a single client
Tarek Hammoud
do-not-reply at jboss.com
Wed Sep 12 08:09:25 EDT 2012
Tarek Hammoud [https://community.jboss.org/people/thammoud] created the discussion
"Calls against multiple servers from a single client"
To view the discussion, visit: https://community.jboss.org/message/759175#759175
--------------------------------------------------------------
Hello,
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
[https://community.jboss.org/message/759175#759175]
Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120912/4cae7069/attachment.html
More information about the jboss-dev-forums
mailing list