On Thu, Apr 21, 2016 at 7:16 AM, Jan Matèrne (jhm) <apa...@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