Thanks Jeanette. I have added the code. There is actually going to be a lot
of work done on transporters for this release (2.0.0), so keep an eye out for
changes.
Thanks again for your help.
-Tom
View the original post :
I took a stab at providing support for a pluggable LoadBalancer in the
TransporterClient. The files are attached with the jira.
I am using the TransporterClient from an EJB, and I need the ability to stop
the detector thread when my application is undeployed. ( I am not using JBoss
AS
Not currently. Have added a feature request for it -
http://jira.jboss.com/jira/browse/JBREM-422.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3939245#3939245
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3939245
Any suggestions on a work around?
Is it reasonable to consider the open source route, i.e. change or extend the
TransporterClient class?
Thanks,
Jeanette
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3939272#3939272
Reply to the post :
Would be great if you could make the code change to allow for load balancing
(and I can commit the changes if attach to the jira issue).
Basically, only need to make the change to
TrasporterClient.findAlternativeTarget() so that instead of picking the first
target it finds matching the
Tom,
I already played with changing the findAlternativeTarget() method exactly as
you suggested, but the load balancer class just uses a random number generator
to select the server to use. Not too sophisticated, but it'll do for what I
am trying to accomplish.
Is this acceptable? What's
Probably easiest thing is to attach the source files to the jira issue noted
above.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3939320#3939320
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3939320