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 <dennish...@gmail.com> 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] INFO
> MainSupport$HangupInterceptor  - Received hang up - stopping the main
> instance.
> org.apache.camel.FailedToStartRouteException: Failed to start route
> route3 because of Multiple consumers for the same endpoint is not
> allowed: direct://abstract
>
> the only two classes:
>
> abstract public class AbstractRoute extends RouteBuilder {
>
>     @Override
>     public void configure() throws Exception {
>         from("direct:abstract").log("abstract");
>         addChildRoutes();
>     }
>     abstract void addChildRoutes();
> }
>
> public class MyRoute extends AbstractRoute {
>     @Override
>     void addChildRoutes() {
>         from("timer://foo?fixedRate=true&period=5s").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

Reply via email to