Is there any way to use Weighted Round-Robin

Posted by smahanta on 15-Oct-2011 04:57

I have a service which dispatches message to 3 end points. I need  to use Weighted Round-Robin in the ratio 5:3:2 in distribution of messages. Does Sonic provide any such facility? Thanks.

All Replies

Posted by mnair on 16-Oct-2011 21:04

No, Sonic ESB does not provide any such feature. You will have to code this in your service.

Thanks

-Mahesh

Posted by sfritz on 17-Oct-2011 08:09

If these endpoints are ESB processes/services you could set the number of listener threads in the ESB container accordingly.

It is not the same as round robin but might be an alternate solution.

Stefan

This thread is closed