Grokbase Groups Camel dev May 2016

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:

Yeah that is a good idea.
On Fri, May 27, 2016 at 5:10 PM, Luca Burgazzoli wrote:

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
----------------- @davsclaus
Camel in Action 2:

Claus Ibsen
----------------- @davsclaus
Camel in Action 2:

Search Discussions

Discussion Posts


Related Discussions

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

2 users in discussion

Luca Burgazzoli: 2 posts Claus Ibsen: 2 posts



site design / logo © 2018 Grokbase