Hi

Yeah that is a good idea.

On Fri, May 27, 2016 at 5:10 PM, Luca Burgazzoli <lburgazz...@gmail.com> wrote:
> Hi,
>
> Would it make sense to add the service name as parameter for 
> ServerListStrategy
> methods ?
>
> Collection<T> getInitialListOfServers(String name);
> Collection<T> getUpdatedListOfServers(String name);
>
> This would make it easy to create new implementations as to set up a new
> ServiceCallServerListStrategy one do not  need to set the service name on
> both  the EIP and the strategy and maybe we can grab the service name from
> the headers for dynamic service call EIP.
>
>
>
> ---
> Luca Burgazzoli



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Reply via email to