Hi,

IMHO, this question is more about jbi endpoint resolver other than load balancing.
So take a look at how to configure endpoint resolver[1].
If the current resolver[2] can't meet your requirement, you can implement your own.

[1]http://servicemix.apache.org/how-do-i-configure-an-endpoint-resolver-policy.html
[2]https://svn.apache.org/repos/asf/servicemix/smx3/trunk/core/servicemix-core/src/main/java/org/apache/servicemix/jbi/resolver/

Freeman
On 2010-3-16, at 上午6:43, Ryan Moquin wrote:

I was wondering how you control load balancing of JBI requests across
clustered services. This is mostly in reference to Servicemix 3.x. For example, I noticed that if I have an servicemix-http component which sends a
JBI message to another endpoint which is clustered, the request will
alternate between the local and remote clustered services. Is there anyway to make a request get sent to a local service first, which if it doesn't exist, then send it to a service endpoint of the same name on a clustered servicemix endpoint? I know ActiveMQ's default behavior with queues is
round robin, I wasn't sure if there is a way to change this so that
servicemix services will always talk to a local clustered endpoint instead of doing round robin between to the local and remote service endpoints?

Ryan


--
Freeman Fang
------------------------
Open Source SOA: http://fusesource.com

Reply via email to