On Mon, May 30, 2016 at 11:09 AM, Luca Burgazzoli <lburgazz...@gmail.com> wrote:
> And what about returning a List instead of a Collection ?
> A little bit less generic but would make it more efficient to
> implement load balancers (i.e. avoid to make a new List for each call)
> ---

Yeah sure feel free to do changes to improve the code - its not been
released before so the APIs can be changed

> Luca Burgazzoli
>
>
> On Sat, May 28, 2016 at 9:32 AM, Claus Ibsen <claus.ib...@gmail.com> wrote:
>> 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



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

Reply via email to