camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: New Hystrix based Circuit Breaker EIP
Date Thu, 21 Apr 2016 05:32:48 GMT
On Thu, Apr 21, 2016 at 7:16 AM, Jan Matèrne (jhm) <apache@materne.de> wrote:
>> The nice thing is that we can implement other EIPs in the future the
>> same way (eg also a bit like data format today) where we have the EIP
>> in the model in camel-core but have it actually implemented in the
>> component outside camel-core. And the end user should just remember to
>> add the camel-xx component to the classpath.
>
> I like the idea of adding the implementation in such a way.
> Does the component just implement that one EIP?
> Otherwise: which component is used when multiple implementations are on the classpath?
>

Yes only that EIP. There is a marker file in the camel-hystrix that
tells Camel that it implement the given EIP model.
https://github.com/apache/camel/tree/master/components/camel-hystrix/src/main/resources/META-INF/services/org/apache/camel/model


> Jan
>



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

Mime
View raw message