camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luca Burgazzoli <lburgazz...@gmail.com>
Subject ServiceCall : ServiceCallServerListStrategy
Date Fri, 27 May 2016 15:10:51 GMT
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

Mime
View raw message