Re: Camel-3 multiple consumers error with class hierarchy

2019-12-08 Thread Dennis Holunder
abstract void addChildRoutes(); > > > > } > > > > > > > > public class MyRoute extends AbstractRoute { > > > > @Override > > > > void addChildRoutes() { > > > > from("timer://foo?fixedRate=true&period=5s"

Re: Camel-3 multiple consumers error with class hierarchy

2019-12-06 Thread Claus Ibsen
gt; > public class MyRoute extends AbstractRoute { > > > @Override > > > void addChildRoutes() { > > > from("timer://foo?fixedRate=true&period=5s").log("running > > > ${body}"); > > > } > > > } > > > > > > is

Re: Camel-3 multiple consumers error with class hierarchy

2019-12-06 Thread Dennis Holunder
t;).log("running ${body}"); > > } > > } > > > > is it a bug or not supported in camel-3 anymore? > > > > -- > Claus Ibsen > ----- > http://davsclaus.com @davsclaus > Camel in Action 2: https://www.manning.com/ibsen2 > > > > If you reply to this email, your message will be added to the discussion > below: > https://camel.465427.n5.nabble.com/Camel-3-multiple-consumers-error-with-class-hierarchy-tp5850028p5850037.html > To unsubscribe from Camel, click here. > NAML

Re: Camel-3 multiple consumers error with class hierarchy

2019-12-06 Thread Claus Ibsen
Hi Its likely fixed by that other bug, and you have it due to using camel-cdi / cdi main etc. On Fri, Dec 6, 2019 at 10:23 AM Dennis Holunder wrote: > > I have some class hierarchy to share common functionality but it > doesn't work with camel-3: > > 2019-12-06 10:20:35,959 [ngupInterceptor] INF

Camel-3 multiple consumers error with class hierarchy

2019-12-06 Thread Dennis Holunder
I have some class hierarchy to share common functionality but it doesn't work with camel-3: 2019-12-06 10:20:35,959 [ngupInterceptor] INFO MainSupport$HangupInterceptor - Received hang up - stopping the main instance. org.apache.camel.FailedToStartRouteException: Failed to start route route3 beca