Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
org.apache.camel.model.CatchDefinition cannot be cast to org.apache.camel.model.ChoiceDefinition
java.lang.ClassCastException: org.apache.camel.model.CatchDefinition cannot be cast to org.apache.camel.model.ChoiceDefinition
at org.apache.camel.model.ProcessorDefinition.endChoice(ProcessorDefinition.java:1316)
at esb_workshop.trycatchroute_0_1.TryCatchRoute.configure(TryCatchRoute.java:118)
at org.apache.camel.builder.RouteBuilder.checkInitialized(RouteBuilder.java:322)
at org.apache.camel.builder.RouteBuilder.configureRoutes(RouteBuilder.java:276)
at org.apache.camel.builder.RouteBuilder.addRoutesToCamelContext(RouteBuilder.java:262)
at org.apache.camel.impl.DefaultCamelContext.addRoutes(DefaultCamelContext.java:677)
at org.apache.camel.main.MainSupport.postProcessCamelContext(MainSupport.java:471)
at org.apache.camel.main.MainSupport.postProcessContext(MainSupport.java:406)
at esb_workshop.trycatchroute_0_1.TryCatchRoute$1.doStart(TryCatchRoute.java:180)
at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)