Grokbase Groups Camel dev May 2016
FAQ

On Mon, May 30, 2016 at 11:09 AM, Luca Burgazzoli 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 wrote:
Hi

Yeah that is a good idea.
On Fri, May 27, 2016 at 5:10 PM, Luca Burgazzoli 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

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 4 of 4 | next ›
Discussion Overview
groupdev @
categoriescamel
postedMay 27, '16 at 3:10p
activeMay 30, '16 at 9:14a
posts4
users2
websitecamel.apache.org

2 users in discussion

Luca Burgazzoli: 2 posts Claus Ibsen: 2 posts

People

Translate

site design / logo © 2017 Grokbase