You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you define a camel file which is invalid and save it, the synchronizer is trying to register it.
Unfortunately, it cannot be registered because it is invalid but the synchronizers logic retries to register it by executing the retry mechanism.
Even if you apply a fix for the camel file, the retry mechanism continues to try to register it but using the old version of the camel file (which is invalid). You have to wait until the retry mechanism finish its execution and republish the resource to make it work.
With the default configurations, the retry mechanism takes around 90 seconds to complete its execution.
From development perspective, it is annoying to wait so much time until you are able to check whether you managed to fix the camel file properly.
Will better if the retry logic uses the latest version of the camel file content instead of using the previous version. This way you can speed up your development.
Example incorrect camel file incorrect-camel.camel:
2024-10-21 11:12:43.844 [ERROR] [EclipseDirigibleScheduler_Worker-5] [background] o.e.d.c.i.s.SynchronizationProcessor - Processing of artefact with key [camel:/test-camel/test.camel:test.camel], location [/test-camel/test.camel] for lifecycle [FAILED] has failed, synchronizer [org.eclipse.dirigible.components.engine.camel.synchronizer.CamelSynchronizer@66cd5f16], error [], message [org.apache.camel.FailedToCreateRouteException: Failed to create route route-1927 at: >>> From[rest:get:testPath] <<< in route: Route(route-1927)[From[rest:get:testPath] -> []] because of Route route-1927 has no output processors. You need to add outputs to the route such as to("log:foo").]
org.eclipse.dirigible.components.engine.camel.processor.CamelProcessorException: org.apache.camel.FailedToCreateRouteException: Failed to create route route-1927 at: >>> From[rest:get:testPath] <<< in route: Route(route-1927)[From[rest:get:testPath] -> []] because of Route route-1927 has no output processors. You need to add outputs to the route such as to("log:foo").
at org.eclipse.dirigible.components.engine.camel.processor.CamelProcessor.lambda$addAllRoutes$0(CamelProcessor.java:90) ~[dirigible-components-engine-camel-11.0.0-SNAPSHOT.jar!/:na]
at java.base/java.util.HashMap$Values.forEach(HashMap.java:1073) ~[na:na]
at org.eclipse.dirigible.components.engine.camel.processor.CamelProcessor.addAllRoutes(CamelProcessor.java:86) ~[dirigible-components-engine-camel-11.0.0-SNAPSHOT.jar!/:na]
at org.eclipse.dirigible.components.engine.camel.processor.CamelProcessor.onCreateOrUpdate(CamelProcessor.java:67) ~[dirigible-components-engine-camel-11.0.0-SNAPSHOT.jar!/:na]
at org.eclipse.dirigible.components.engine.camel.synchronizer.CamelSynchronizer.addToProcessor(CamelSynchronizer.java:210) ~[dirigible-components-engine-camel-11.0.0-SNAPSHOT.jar!/:na]
at org.eclipse.dirigible.components.engine.camel.synchronizer.CamelSynchronizer.completeImpl(CamelSynchronizer.java:159) ~[dirigible-components-engine-camel-11.0.0-SNAPSHOT.jar!/:na]
at org.eclipse.dirigible.components.base.synchronizer.BaseSynchronizer.complete(BaseSynchronizer.java:50) ~[dirigible-components-core-base-11.0.0-SNAPSHOT.jar!/:na]
at org.eclipse.dirigible.components.base.artefact.topology.TopologyWrapper.complete(TopologyWrapper.java:115) ~[dirigible-components-core-base-11.0.0-SNAPSHOT.jar!/:na]
at org.eclipse.dirigible.components.base.artefact.topology.TopologicalDepleter.deplete(TopologicalDepleter.java:47) ~[dirigible-components-core-base-11.0.0-SNAPSHOT.jar!/:na]
at org.eclipse.dirigible.components.initializers.synchronizer.SynchronizationProcessor.processSynchronizers(SynchronizationProcessor.java:266) ~[dirigible-components-core-initializers-11.0.0-SNAPSHOT.jar!/:na]
at org.eclipse.dirigible.components.initializers.synchronizer.SynchronizationJobService.executeSynchronizationJob(SynchronizationJobService.java:52) ~[dirigible-components-core-initializers-11.0.0-SNAPSHOT.jar!/:na]
at org.eclipse.dirigible.components.initializers.synchronizer.SynchronizationJob.execute(SynchronizationJob.java:112) ~[dirigible-components-core-initializers-11.0.0-SNAPSHOT.jar!/:na]
at org.quartz.core.JobRunShell.run(JobRunShell.java:202) ~[quartz-2.3.2.jar!/:na]
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) ~[quartz-2.3.2.jar!/:na]
Caused by: org.apache.camel.FailedToCreateRouteException: Failed to create route route-1927 at: >>> From[rest:get:testPath] <<< in route: Route(route-1927)[From[rest:get:testPath] -> []] because of Route route-1927 has no output processors. You need to add outputs to the route such as to("log:foo").
at org.apache.camel.reifier.RouteReifier.doCreateRoute(RouteReifier.java:216) ~[camel-core-reifier-4.8.0.jar!/:4.8.0]
at org.apache.camel.reifier.RouteReifier.createRoute(RouteReifier.java:86) ~[camel-core-reifier-4.8.0.jar!/:4.8.0]
at org.apache.camel.impl.DefaultModelReifierFactory.createRoute(DefaultModelReifierFactory.java:49) ~[camel-core-engine-4.8.0.jar!/:4.8.0]
at org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:726) ~[camel-core-engine-4.8.0.jar!/:4.8.0]
at org.apache.camel.impl.DefaultModel.addRouteDefinitions(DefaultModel.java:288) ~[camel-core-engine-4.8.0.jar!/:4.8.0]
at org.apache.camel.impl.DefaultCamelContext.addRouteDefinitions(DefaultCamelContext.java:280) ~[camel-core-engine-4.8.0.jar!/:4.8.0]
at org.apache.camel.builder.RouteBuilder.populateRoutes(RouteBuilder.java:880) ~[camel-core-model-4.8.0.jar!/:4.8.0]
at org.apache.camel.builder.RouteBuilder.addRoutesToCamelContext(RouteBuilder.java:670) ~[camel-core-model-4.8.0.jar!/:4.8.0]
at org.apache.camel.impl.engine.AbstractCamelContext.addRoutes(AbstractCamelContext.java:995) ~[camel-base-engine-4.8.0.jar!/:4.8.0]
at org.apache.camel.spi.RoutesLoader.loadRoutes(RoutesLoader.java:93) ~[camel-api-4.8.0.jar!/:4.8.0]
at org.eclipse.dirigible.components.engine.camel.processor.CamelProcessor.lambda$addAllRoutes$0(CamelProcessor.java:88) ~[dirigible-components-engine-camel-11.0.0-SNAPSHOT.jar!/:na]
... 13 common frames omitted
Caused by: java.lang.IllegalArgumentException: Route route-1927 has no output processors. You need to add outputs to the route such as to("log:foo").
at org.apache.camel.reifier.RouteReifier.doCreateRoute(RouteReifier.java:214) ~[camel-core-reifier-4.8.0.jar!/:4.8.0]
... 23 common frames omitted
2024-10-21 11:12:44.174 [ERROR] [EclipseDirigibleScheduler_Worker-5] [background] o.e.d.c.i.s.SynchronizationProcessor - Processing of artefact with key [camel:/test-camel/test.camel:test.camel], location [/test-camel/test.camel] for lifecycle [FATAL] has failed, synchronizer [org.eclipse.dirigible.components.engine.camel.synchronizer.CamelSynchronizer@66cd5f16], error [Undepleted artefact in lifecycle [UPDATED] and phase [CREATE] with key [camel:/test-camel/test.camel:test.camel], location [/test-camel/test.camel], type [camel], error [Undepleted artefact in lifecycle [CREATED] and phase [CREATE] with key [camel:/test-camel/test.camel:test.camel], location [/test-camel/test.camel], type [camel], error [org.apache.camel.FailedToCreateRouteException: Failed to create route route-1927 at: >>> From[rest:get:testPath] <<< in route: Route(route-1927)[From[rest:get:testPath] -> []] because of Route route-1927 has no output processors. You need to add outputs to the route such as to("log:foo").]]], message [Cannot start a Route in a failing state: camel:/test-camel/test.camel:test.camel]
2024-10-21 11:12:44.183 [WARN ] [EclipseDirigibleScheduler_Worker-5] [background] o.e.d.c.i.s.SynchronizationProcessor - Cross-processing of undepleated artefacts...
2024-10-21 11:12:44.184 [INFO ] [EclipseDirigibleScheduler_Worker-5] [background] o.e.d.c.i.s.SynchronizationProcessor - Wait [10000] millis before next retry
2024-10-21 11:12:54.191 [INFO ] [EclipseDirigibleScheduler_Worker-5] [background] o.e.d.c.i.s.SynchronizationProcessor - Retry [1] - cross-processing of [1] undepleated artefacts: [[TopologyWrapper [artefact=Artefact [location=/test-camel/test.camel, name=test.camel, type=camel, description=null, key=camel:/test-camel/test.camel:test.camel, dependencies=null, lifecycle=FATAL, phase=CREATE, error=Cannot start a Route in a failing state: camel:/test-camel/test.camel:test.camel, createdBy=SYSTEM, createdAt=Mon Oct 21 11:12:41 EEST 2024, updatedBy=SYSTEM, updatedAt=Mon Oct 21 11:12:41 EEST 2024], synchronizer=camel]]]
2024-10-21 11:12:54.225 [INFO ] [EclipseDirigibleScheduler_Worker-5] [background] o.a.c.i.engine.AbstractCamelContext - Routes stopped (total:0)
2024-10-21 11:12:54.239 [ERROR] [EclipseDirigibleScheduler_Worker-5] [background] o.e.d.c.i.s.SynchronizationProcessor - Processing of artefact with key [camel:/test-camel/test.camel:test.camel], location [/test-camel/test.camel] for lifecycle [FAILED] has failed, synchronizer [org.eclipse.dirigible.components.engine.camel.synchronizer.CamelSynchronizer@66cd5f16], error [Cannot start a Route in a failing state: camel:/test-camel/test.camel:test.camel], message [org.apache.camel.FailedToCreateRouteException: Failed to create route route-1927 at: >>> From[rest:get:testPath] <<< in route: Route(route-1927)[From[rest:get:testPath] -> []] because of Route route-1927 has no output processors. You need to add outputs to the route such as to("log:foo").]
org.eclipse.dirigible.components.engine.camel.processor.CamelProcessorException: org.apache.camel.FailedToCreateRouteException: Failed to create route route-1927 at: >>> From[rest:get:testPath] <<< in route: Route(route-1927)[From[rest:get:testPath] -> []] because of Route route-1927 has no output processors. You need to add outputs to the route such as to("log:foo").
at org.eclipse.dirigible.components.engine.camel.processor.CamelProcessor.lambda$addAllRoutes$0(CamelProcessor.java:90) ~[dirigible-components-engine-camel-11.0.0-SNAPSHOT.jar!/:na]
at java.base/java.util.HashMap$Values.forEach(HashMap.java:1073) ~[na:na]
at org.eclipse.dirigible.components.engine.camel.processor.CamelProcessor.addAllRoutes(CamelProcessor.java:86) ~[dirigible-components-engine-camel-11.0.0-SNAPSHOT.jar!/:na]
at org.eclipse.dirigible.components.engine.camel.processor.CamelProcessor.onCreateOrUpdate(CamelProcessor.java:67) ~[dirigible-components-engine-camel-11.0.0-SNAPSHOT.jar!/:na]
at org.eclipse.dirigible.components.engine.camel.synchronizer.CamelSynchronizer.addToProcessor(CamelSynchronizer.java:210) ~[dirigible-components-engine-camel-11.0.0-SNAPSHOT.jar!/:na]
at org.eclipse.dirigible.components.engine.camel.synchronizer.CamelSynchronizer.completeImpl(CamelSynchronizer.java:186) ~[dirigible-components-engine-camel-11.0.0-SNAPSHOT.jar!/:na]
at org.eclipse.dirigible.components.base.synchronizer.BaseSynchronizer.complete(BaseSynchronizer.java:50) ~[dirigible-components-core-base-11.0.0-SNAPSHOT.jar!/:na]
at org.eclipse.dirigible.components.base.artefact.topology.TopologyWrapper.complete(TopologyWrapper.java:115) ~[dirigible-components-core-base-11.0.0-SNAPSHOT.jar!/:na]
at org.eclipse.dirigible.components.base.artefact.topology.TopologicalDepleter.deplete(TopologicalDepleter.java:47) ~[dirigible-components-core-base-11.0.0-SNAPSHOT.jar!/:na]
at org.eclipse.dirigible.components.initializers.synchronizer.SynchronizationProcessor.processSynchronizers(SynchronizationProcessor.java:322) ~[dirigible-components-core-initializers-11.0.0-SNAPSHOT.jar!/:na]
at org.eclipse.dirigible.components.initializers.synchronizer.SynchronizationJobService.executeSynchronizationJob(SynchronizationJobService.java:52) ~[dirigible-components-core-initializers-11.0.0-SNAPSHOT.jar!/:na]
at org.eclipse.dirigible.components.initializers.synchronizer.SynchronizationJob.execute(SynchronizationJob.java:112) ~[dirigible-components-core-initializers-11.0.0-SNAPSHOT.jar!/:na]
at org.quartz.core.JobRunShell.run(JobRunShell.java:202) ~[quartz-2.3.2.jar!/:na]
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) ~[quartz-2.3.2.jar!/:na]
Caused by: org.apache.camel.FailedToCreateRouteException: Failed to create route route-1927 at: >>> From[rest:get:testPath] <<< in route: Route(route-1927)[From[rest:get:testPath] -> []] because of Route route-1927 has no output processors. You need to add outputs to the route such as to("log:foo").
at org.apache.camel.reifier.RouteReifier.doCreateRoute(RouteReifier.java:216) ~[camel-core-reifier-4.8.0.jar!/:4.8.0]
at org.apache.camel.reifier.RouteReifier.createRoute(RouteReifier.java:86) ~[camel-core-reifier-4.8.0.jar!/:4.8.0]
at org.apache.camel.impl.DefaultModelReifierFactory.createRoute(DefaultModelReifierFactory.java:49) ~[camel-core-engine-4.8.0.jar!/:4.8.0]
at org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:726) ~[camel-core-engine-4.8.0.jar!/:4.8.0]
at org.apache.camel.impl.DefaultModel.addRouteDefinitions(DefaultModel.java:288) ~[camel-core-engine-4.8.0.jar!/:4.8.0]
at org.apache.camel.impl.DefaultCamelContext.addRouteDefinitions(DefaultCamelContext.java:280) ~[camel-core-engine-4.8.0.jar!/:4.8.0]
at org.apache.camel.builder.RouteBuilder.populateRoutes(RouteBuilder.java:880) ~[camel-core-model-4.8.0.jar!/:4.8.0]
at org.apache.camel.builder.RouteBuilder.addRoutesToCamelContext(RouteBuilder.java:670) ~[camel-core-model-4.8.0.jar!/:4.8.0]
at org.apache.camel.impl.engine.AbstractCamelContext.addRoutes(AbstractCamelContext.java:995) ~[camel-base-engine-4.8.0.jar!/:4.8.0]
at org.apache.camel.spi.RoutesLoader.loadRoutes(RoutesLoader.java:93) ~[camel-api-4.8.0.jar!/:4.8.0]
at org.eclipse.dirigible.components.engine.camel.processor.CamelProcessor.lambda$addAllRoutes$0(CamelProcessor.java:88) ~[dirigible-components-engine-camel-11.0.0-SNAPSHOT.jar!/:na]
... 13 common frames omitted
Caused by: java.lang.IllegalArgumentException: Route route-1927 has no output processors. You need to add outputs to the route such as to("log:foo").
at org.apache.camel.reifier.RouteReifier.doCreateRoute(RouteReifier.java:214) ~[camel-core-reifier-4.8.0.jar!/:4.8.0]
... 23 common frames omitted
2024-10-21 11:12:54.265 [WARN ] [EclipseDirigibleScheduler_Worker-5] [background] o.e.d.c.i.s.SynchronizationProcessor - Retrying to deplete artefacts left after cross-processing: [camel:/test-camel/test.camel:test.camel]
2024-10-21 11:12:54.265 [INFO ] [EclipseDirigibleScheduler_Worker-5] [background] o.e.d.c.i.s.SynchronizationProcessor - Retry [1] completed - left [1] undepleated artefacts: [[TopologyWrapper [artefact=Artefact [location=/test-camel/test.camel, name=test.camel, type=camel, description=null, key=camel:/test-camel/test.camel:test.camel, dependencies=null, lifecycle=FAILED, phase=CREATE, error=Undepleted artefact in lifecycle [STARTED] and phase [CREATE] with key [camel:/test-camel/test.camel:test.camel], location [/test-camel/test.camel], type [camel], error [org.apache.camel.FailedToCreateRouteException: Failed to create route route-1927 at: >>> From[rest:get:testPath] <<< in route: Route(route-1927)[From[rest:get:testPath] -> []] because of Route route-1927 has no output processors. You need to add outputs to the route such as to("log:foo").], createdBy=SYSTEM, createdAt=Mon Oct 21 11:12:41 EEST 2024, updatedBy=SYSTEM, updatedAt=Mon Oct 21 11:12:41 EEST 2024], synchronizer=camel]]].
2024-10-21 11:12:54.265 [INFO ] [EclipseDirigibleScheduler_Worker-5] [background] o.e.d.c.i.s.SynchronizationProcessor - Wait [10000] millis before next retry
2024-10-21 11:13:04.271 [INFO ] [EclipseDirigibleScheduler_Worker-5] [background] o.e.d.c.i.s.SynchronizationProcessor - Retry [2] - cross-processing of [1] undepleated artefacts: [[TopologyWrapper [artefact=Artefact [location=/test-camel/test.camel, name=test.camel, type=camel, description=null, key=camel:/test-camel/test.camel:test.camel, dependencies=null, lifecycle=FAILED, phase=CREATE, error=Undepleted artefact in lifecycle [STARTED] and phase [CREATE] with key [camel:/test-camel/test.camel:test.camel], location [/test-camel/test.camel], type [camel], error [org.apache.camel.FailedToCreateRouteException: Failed to create route route-1927 at: >>> From[rest:get:testPath] <<< in route: Route(route-1927)[From[rest:get:testPath] -> []] because of Route route-1927 has no output processors. You need to add outputs to the route such as to("log:foo").], createdBy=SYSTEM, createdAt=Mon Oct 21 11:12:41 EEST 2024, updatedBy=SYSTEM, updatedAt=Mon Oct 21 11:12:41 EEST 2024], synchronizer=camel]]]
2024-10-21 11:13:04.300 [ERROR] [EclipseDirigibleScheduler_Worker-5] [background] o.e.d.c.i.s.SynchronizationProcessor - Processing of artefact with key [camel:/test-camel/test.camel:test.camel], location [/test-camel/test.camel] for lifecycle [FATAL] has failed, synchronizer [org.eclipse.dirigible.components.engine.camel.synchronizer.CamelSynchronizer@66cd5f16], error [Undepleted artefact in lifecycle [UPDATED] and phase [CREATE] with key [camel:/test-camel/test.camel:test.camel], location [/test-camel/test.camel], type [camel], error [Undepleted artefact in lifecycle [STARTED] and phase [CREATE] with key [camel:/test-camel/test.camel:test.camel], location [/test-camel/test.camel], type [camel], error [org.apache.camel.FailedToCreateRouteException: Failed to create route route-1927 at: >>> From[rest:get:testPath] <<< in route: Route(route-1927)[From[rest:get:testPath] -> []] because of Route route-1927 has no output processors. You need to add outputs to the route such as to("log:foo").]]], message [Cannot start a Route in a failing state: camel:/test-camel/test.camel:test.camel]
2024-10-21 11:13:04.306 [WARN ] [EclipseDirigibleScheduler_Worker-5] [background] o.e.d.c.i.s.SynchronizationProcessor - Retrying to deplete artefacts left after cross-processing: [camel:/test-camel/test.camel:test.camel]
2024-10-21 11:13:04.306 [INFO ] [EclipseDirigibleScheduler_Worker-5] [background] o.e.d.c.i.s.SynchronizationProcessor - Retry [2] completed - left [1] undepleated artefacts: [[TopologyWrapper [artefact=Artefact [location=/test-camel/test.camel, name=test.camel, type=camel, description=null, key=camel:/test-camel/test.camel:test.camel, dependencies=null, lifecycle=FATAL, phase=CREATE, error=Cannot start a Route in a failing state: camel:/test-camel/test.camel:test.camel, createdBy=SYSTEM, createdAt=Mon Oct 21 11:12:41 EEST 2024, updatedBy=SYSTEM, updatedAt=Mon Oct 21 11:12:41 EEST 2024], synchronizer=camel]]].
2024-10-21 11:13:04.308 [INFO ] [EclipseDirigibleScheduler_Worker-5] [background] o.e.d.c.i.s.SynchronizationProcessor - Wait [10000] millis before next retry
2024-10-21 11:13:14.311 [INFO ] [EclipseDirigibleScheduler_Worker-5] [background] o.e.d.c.i.s.SynchronizationProcessor - Retry [3] - cross-processing of [1] undepleated artefacts: [[TopologyWrapper [artefact=Artefact [location=/test-camel/test.camel, name=test.camel, type=camel, description=null, key=camel:/test-camel/test.camel:test.camel, dependencies=null, lifecycle=FATAL, phase=CREATE, error=Cannot start a Route in a failing state: camel:/test-camel/test.camel:test.camel, createdBy=SYSTEM, createdAt=Mon Oct 21 11:12:41 EEST 2024, updatedBy=SYSTEM, updatedAt=Mon Oct 21 11:12:41 EEST 2024], synchronizer=camel]]]
2024-10-21 11:13:14.319 [INFO ] [EclipseDirigibleScheduler_Worker-5] [background] o.a.c.i.engine.AbstractCamelContext - Routes stopped (total:0)
2024-10-21 11:13:14.333 [ERROR] [EclipseDirigibleScheduler_Worker-5] [background] o.e.d.c.i.s.SynchronizationProcessor - Processing of artefact with key [camel:/test-camel/test.camel:test.camel], location [/test-camel/test.camel] for lifecycle [FAILED] has failed, synchronizer [org.eclipse.dirigible.components.engine.camel.synchronizer.CamelSynchronizer@66cd5f16], error [Cannot start a Route in a failing state: camel:/test-camel/test.camel:test.camel], message [org.apache.camel.FailedToCreateRouteException: Failed to create route route-1927 at: >>> From[rest:get:testPath] <<< in route: Route(route-1927)[From[rest:get:testPath] -> []] because of Route route-1927 has no output processors. You need to add outputs to the route such as to("log:foo").]
org.eclipse.dirigible.components.engine.camel.processor.CamelProcessorException: org.apache.camel.FailedToCreateRouteException: Failed to create route route-1927 at: >>> From[rest:get:testPath] <<< in route: Route(route-1927)[From[rest:get:testPath] -> []] because of Route route-1927 has no output processors. You need to add outputs to the route such as to("log:foo").
at org.eclipse.dirigible.components.engine.camel.processor.CamelProcessor.lambda$addAllRoutes$0(CamelProcessor.java:90) ~[dirigible-components-engine-camel-11.0.0-SNAPSHOT.jar!/:na]
at java.base/java.util.HashMap$Values.forEach(HashMap.java:1073) ~[na:na]
at org.eclipse.dirigible.components.engine.camel.processor.CamelProcessor.addAllRoutes(CamelProcessor.java:86) ~[dirigible-components-engine-camel-11.0.0-SNAPSHOT.jar!/:na]
at org.eclipse.dirigible.components.engine.camel.processor.CamelProcessor.onCreateOrUpdate(CamelProcessor.java:67) ~[dirigible-components-engine-camel-11.0.0-SNAPSHOT.jar!/:na]
at org.eclipse.dirigible.components.engine.camel.synchronizer.CamelSynchronizer.addToProcessor(CamelSynchronizer.java:210) ~[dirigible-components-engine-camel-11.0.0-SNAPSHOT.jar!/:na]
at org.eclipse.dirigible.components.engine.camel.synchronizer.CamelSynchronizer.completeImpl(CamelSynchronizer.java:186) ~[dirigible-components-engine-camel-11.0.0-SNAPSHOT.jar!/:na]
at org.eclipse.dirigible.components.base.synchronizer.BaseSynchronizer.complete(BaseSynchronizer.java:50) ~[dirigible-components-core-base-11.0.0-SNAPSHOT.jar!/:na]
at org.eclipse.dirigible.components.base.artefact.topology.TopologyWrapper.complete(TopologyWrapper.java:115) ~[dirigible-components-core-base-11.0.0-SNAPSHOT.jar!/:na]
at org.eclipse.dirigible.components.base.artefact.topology.TopologicalDepleter.deplete(TopologicalDepleter.java:47) ~[dirigible-components-core-base-11.0.0-SNAPSHOT.jar!/:na]
at org.eclipse.dirigible.components.initializers.synchronizer.SynchronizationProcessor.processSynchronizers(SynchronizationProcessor.java:322) ~[dirigible-components-core-initializers-11.0.0-SNAPSHOT.jar!/:na]
at org.eclipse.dirigible.components.initializers.synchronizer.SynchronizationJobService.executeSynchronizationJob(SynchronizationJobService.java:52) ~[dirigible-components-core-initializers-11.0.0-SNAPSHOT.jar!/:na]
at org.eclipse.dirigible.components.initializers.synchronizer.SynchronizationJob.execute(SynchronizationJob.java:112) ~[dirigible-components-core-initializers-11.0.0-SNAPSHOT.jar!/:na]
at org.quartz.core.JobRunShell.run(JobRunShell.java:202) ~[quartz-2.3.2.jar!/:na]
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) ~[quartz-2.3.2.jar!/:na]
Caused by: org.apache.camel.FailedToCreateRouteException: Failed to create route route-1927 at: >>> From[rest:get:testPath] <<< in route: Route(route-1927)[From[rest:get:testPath] -> []] because of Route route-1927 has no output processors. You need to add outputs to the route such as to("log:foo").
at org.apache.camel.reifier.RouteReifier.doCreateRoute(RouteReifier.java:216) ~[camel-core-reifier-4.8.0.jar!/:4.8.0]
at org.apache.camel.reifier.RouteReifier.createRoute(RouteReifier.java:86) ~[camel-core-reifier-4.8.0.jar!/:4.8.0]
at org.apache.camel.impl.DefaultModelReifierFactory.createRoute(DefaultModelReifierFactory.java:49) ~[camel-core-engine-4.8.0.jar!/:4.8.0]
at org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:726) ~[camel-core-engine-4.8.0.jar!/:4.8.0]
at org.apache.camel.impl.DefaultModel.addRouteDefinitions(DefaultModel.java:288) ~[camel-core-engine-4.8.0.jar!/:4.8.0]
at org.apache.camel.impl.DefaultCamelContext.addRouteDefinitions(DefaultCamelContext.java:280) ~[camel-core-engine-4.8.0.jar!/:4.8.0]
at org.apache.camel.builder.RouteBuilder.populateRoutes(RouteBuilder.java:880) ~[camel-core-model-4.8.0.jar!/:4.8.0]
at org.apache.camel.builder.RouteBuilder.addRoutesToCamelContext(RouteBuilder.java:670) ~[camel-core-model-4.8.0.jar!/:4.8.0]
at org.apache.camel.impl.engine.AbstractCamelContext.addRoutes(AbstractCamelContext.java:995) ~[camel-base-engine-4.8.0.jar!/:4.8.0]
at org.apache.camel.spi.RoutesLoader.loadRoutes(RoutesLoader.java:93) ~[camel-api-4.8.0.jar!/:4.8.0]
at org.eclipse.dirigible.components.engine.camel.processor.CamelProcessor.lambda$addAllRoutes$0(CamelProcessor.java:88) ~[dirigible-components-engine-camel-11.0.0-SNAPSHOT.jar!/:na]
... 13 common frames omitted
Caused by: java.lang.IllegalArgumentException: Route route-1927 has no output processors. You need to add outputs to the route such as to("log:foo").
at org.apache.camel.reifier.RouteReifier.doCreateRoute(RouteReifier.java:214) ~[camel-core-reifier-4.8.0.jar!/:4.8.0]
... 23 common frames omitted
2024-10-21 11:13:14.363 [WARN ] [EclipseDirigibleScheduler_Worker-5] [background] o.e.d.c.i.s.SynchronizationProcessor - Retrying to deplete artefacts left after cross-processing: [camel:/test-camel/test.camel:test.camel]
2024-10-21 11:13:14.364 [INFO ] [EclipseDirigibleScheduler_Worker-5] [background] o.e.d.c.i.s.SynchronizationProcessor - Retry [3] completed - left [1] undepleated artefacts: [[TopologyWrapper [artefact=Artefact [location=/test-camel/test.camel, name=test.camel, type=camel, description=null, key=camel:/test-camel/test.camel:test.camel, dependencies=null, lifecycle=FAILED, phase=CREATE, error=Undepleted artefact in lifecycle [STARTED] and phase [CREATE] with key [camel:/test-camel/test.camel:test.camel], location [/test-camel/test.camel], type [camel], error [org.apache.camel.FailedToCreateRouteException: Failed to create route route-1927 at: >>> From[rest:get:testPath] <<< in route: Route(route-1927)[From[rest:get:testPath] -> []] because of Route route-1927 has no output processors. You need to add outputs to the route such as to("log:foo").], createdBy=SYSTEM, createdAt=Mon Oct 21 11:12:41 EEST 2024, updatedBy=SYSTEM, updatedAt=Mon Oct 21 11:12:41 EEST 2024], synchronizer=camel]]].
2024-10-21 11:13:14.365 [INFO ] [EclipseDirigibleScheduler_Worker-5] [background] o.e.d.c.i.s.SynchronizationProcessor - Wait [10000] millis before next retry
2024-10-21 11:13:16.978 [INFO ] [http-nio-8080-exec-3] [default-tenant] o.e.d.c.i.w.service.PublisherService - Published resource: /users/admin/workspace/test-camel/test.camel -> /registry/public/test-camel/test.camel
2024-10-21 11:13:17.884 [INFO ] [http-nio-8080-exec-1] [default-tenant] o.e.d.c.i.w.service.PublisherService - Published resource: /users/admin/workspace/test-camel/test.camel -> /registry/public/test-camel/test.camel
2024-10-21 11:13:24.371 [INFO ] [EclipseDirigibleScheduler_Worker-5] [background] o.e.d.c.i.s.SynchronizationProcessor - Retry [4] - cross-processing of [1] undepleated artefacts: [[TopologyWrapper [artefact=Artefact [location=/test-camel/test.camel, name=test.camel, type=camel, description=null, key=camel:/test-camel/test.camel:test.camel, dependencies=null, lifecycle=FAILED, phase=CREATE, error=Undepleted artefact in lifecycle [STARTED] and phase [CREATE] with key [camel:/test-camel/test.camel:test.camel], location [/test-camel/test.camel], type [camel], error [org.apache.camel.FailedToCreateRouteException: Failed to create route route-1927 at: >>> From[rest:get:testPath] <<< in route: Route(route-1927)[From[rest:get:testPath] -> []] because of Route route-1927 has no output processors. You need to add outputs to the route such as to("log:foo").], createdBy=SYSTEM, createdAt=Mon Oct 21 11:12:41 EEST 2024, updatedBy=SYSTEM, updatedAt=Mon Oct 21 11:12:41 EEST 2024], synchronizer=camel]]]
2024-10-21 11:13:24.383 [ERROR] [EclipseDirigibleScheduler_Worker-5] [background] o.e.d.c.i.s.SynchronizationProcessor - Processing of artefact with key [camel:/test-camel/test.camel:test.camel], location [/test-camel/test.camel] for lifecycle [FATAL] has failed, synchronizer [org.eclipse.dirigible.components.engine.camel.synchronizer.CamelSynchronizer@66cd5f16], error [Undepleted artefact in lifecycle [UPDATED] and phase [CREATE] with key [camel:/test-camel/test.camel:test.camel], location [/test-camel/test.camel], type [camel], error [Undepleted artefact in lifecycle [STARTED] and phase [CREATE] with key [camel:/test-camel/test.camel:test.camel], location [/test-camel/test.camel], type [camel], error [org.apache.camel.FailedToCreateRouteException: Failed to create route route-1927 at: >>> From[rest:get:testPath] <<< in route: Route(route-1927)[From[rest:get:testPath] -> []] because of Route route-1927 has no output processors. You need to add outputs to the route such as to("log:foo").]]], message [Cannot start a Route in a failing state: camel:/test-camel/test.camel:test.camel]
2024-10-21 11:13:24.385 [WARN ] [EclipseDirigibleScheduler_Worker-5] [background] o.e.d.c.i.s.SynchronizationProcessor - Retrying to deplete artefacts left after cross-processing: [camel:/test-camel/test.camel:test.camel]
2024-10-21 11:13:24.387 [INFO ] [EclipseDirigibleScheduler_Worker-5] [background] o.e.d.c.i.s.SynchronizationProcessor - Retry [4] completed - left [1] undepleated artefacts: [[TopologyWrapper [artefact=Artefact [location=/test-camel/test.camel, name=test.camel, type=camel, description=null, key=camel:/test-camel/test.camel:test.camel, dependencies=null, lifecycle=FATAL, phase=CREATE, error=Cannot start a Route in a failing state: camel:/test-camel/test.camel:test.camel, createdBy=SYSTEM, createdAt=Mon Oct 21 11:12:41 EEST 2024, updatedBy=SYSTEM, updatedAt=Mon Oct 21 11:12:41 EEST 2024], synchronizer=camel]]].
2024-10-21 11:13:24.387 [INFO ] [EclipseDirigibleScheduler_Worker-5] [background] o.e.d.c.i.s.SynchronizationProcessor - Wait [10000] millis before next retry
2024-10-21 11:13:34.385 [INFO ] [EclipseDirigibleScheduler_Worker-5] [background] o.e.d.c.i.s.SynchronizationProcessor - Retry [5] - cross-processing of [1] undepleated artefacts: [[TopologyWrapper [artefact=Artefact [location=/test-camel/test.camel, name=test.camel, type=camel, description=null, key=camel:/test-camel/test.camel:test.camel, dependencies=null, lifecycle=FATAL, phase=CREATE, error=Cannot start a Route in a failing state: camel:/test-camel/test.camel:test.camel, createdBy=SYSTEM, createdAt=Mon Oct 21 11:12:41 EEST 2024, updatedBy=SYSTEM, updatedAt=Mon Oct 21 11:12:41 EEST 2024], synchronizer=camel]]]
2024-10-21 11:13:34.389 [INFO ] [EclipseDirigibleScheduler_Worker-5] [background] o.a.c.i.engine.AbstractCamelContext - Routes stopped (total:0)
2024-10-21 11:13:34.416 [ERROR] [EclipseDirigibleScheduler_Worker-5] [background] o.e.d.c.i.s.SynchronizationProcessor - Processing of artefact with key [camel:/test-camel/test.camel:test.camel], location [/test-camel/test.camel] for lifecycle [FAILED] has failed, synchronizer [org.eclipse.dirigible.components.engine.camel.synchronizer.CamelSynchronizer@66cd5f16], error [Cannot start a Route in a failing state: camel:/test-camel/test.camel:test.camel], message [org.apache.camel.FailedToCreateRouteException: Failed to create route route-1927 at: >>> From[rest:get:testPath] <<< in route: Route(route-1927)[From[rest:get:testPath] -> []] because of Route route-1927 has no output processors. You need to add outputs to the route such as to("log:foo").]
org.eclipse.dirigible.components.engine.camel.processor.CamelProcessorException: org.apache.camel.FailedToCreateRouteException: Failed to create route route-1927 at: >>> From[rest:get:testPath] <<< in route: Route(route-1927)[From[rest:get:testPath] -> []] because of Route route-1927 has no output processors. You need to add outputs to the route such as to("log:foo").
at org.eclipse.dirigible.components.engine.camel.processor.CamelProcessor.lambda$addAllRoutes$0(CamelProcessor.java:90) ~[dirigible-components-engine-camel-11.0.0-SNAPSHOT.jar!/:na]
at java.base/java.util.HashMap$Values.forEach(HashMap.java:1073) ~[na:na]
at org.eclipse.dirigible.components.engine.camel.processor.CamelProcessor.addAllRoutes(CamelProcessor.java:86) ~[dirigible-components-engine-camel-11.0.0-SNAPSHOT.jar!/:na]
at org.eclipse.dirigible.components.engine.camel.processor.CamelProcessor.onCreateOrUpdate(CamelProcessor.java:67) ~[dirigible-components-engine-camel-11.0.0-SNAPSHOT.jar!/:na]
at org.eclipse.dirigible.components.engine.camel.synchronizer.CamelSynchronizer.addToProcessor(CamelSynchronizer.java:210) ~[dirigible-components-engine-camel-11.0.0-SNAPSHOT.jar!/:na]
at org.eclipse.dirigible.components.engine.camel.synchronizer.CamelSynchronizer.completeImpl(CamelSynchronizer.java:186) ~[dirigible-components-engine-camel-11.0.0-SNAPSHOT.jar!/:na]
at org.eclipse.dirigible.components.base.synchronizer.BaseSynchronizer.complete(BaseSynchronizer.java:50) ~[dirigible-components-core-base-11.0.0-SNAPSHOT.jar!/:na]
at org.eclipse.dirigible.components.base.artefact.topology.TopologyWrapper.complete(TopologyWrapper.java:115) ~[dirigible-components-core-base-11.0.0-SNAPSHOT.jar!/:na]
at org.eclipse.dirigible.components.base.artefact.topology.TopologicalDepleter.deplete(TopologicalDepleter.java:47) ~[dirigible-components-core-base-11.0.0-SNAPSHOT.jar!/:na]
at org.eclipse.dirigible.components.initializers.synchronizer.SynchronizationProcessor.processSynchronizers(SynchronizationProcessor.java:322) ~[dirigible-components-core-initializers-11.0.0-SNAPSHOT.jar!/:na]
at org.eclipse.dirigible.components.initializers.synchronizer.SynchronizationJobService.executeSynchronizationJob(SynchronizationJobService.java:52) ~[dirigible-components-core-initializers-11.0.0-SNAPSHOT.jar!/:na]
at org.eclipse.dirigible.components.initializers.synchronizer.SynchronizationJob.execute(SynchronizationJob.java:112) ~[dirigible-components-core-initializers-11.0.0-SNAPSHOT.jar!/:na]
at org.quartz.core.JobRunShell.run(JobRunShell.java:202) ~[quartz-2.3.2.jar!/:na]
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) ~[quartz-2.3.2.jar!/:na]
Caused by: org.apache.camel.FailedToCreateRouteException: Failed to create route route-1927 at: >>> From[rest:get:testPath] <<< in route: Route(route-1927)[From[rest:get:testPath] -> []] because of Route route-1927 has no output processors. You need to add outputs to the route such as to("log:foo").
at org.apache.camel.reifier.RouteReifier.doCreateRoute(RouteReifier.java:216) ~[camel-core-reifier-4.8.0.jar!/:4.8.0]
at org.apache.camel.reifier.RouteReifier.createRoute(RouteReifier.java:86) ~[camel-core-reifier-4.8.0.jar!/:4.8.0]
at org.apache.camel.impl.DefaultModelReifierFactory.createRoute(DefaultModelReifierFactory.java:49) ~[camel-core-engine-4.8.0.jar!/:4.8.0]
at org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:726) ~[camel-core-engine-4.8.0.jar!/:4.8.0]
at org.apache.camel.impl.DefaultModel.addRouteDefinitions(DefaultModel.java:288) ~[camel-core-engine-4.8.0.jar!/:4.8.0]
at org.apache.camel.impl.DefaultCamelContext.addRouteDefinitions(DefaultCamelContext.java:280) ~[camel-core-engine-4.8.0.jar!/:4.8.0]
at org.apache.camel.builder.RouteBuilder.populateRoutes(RouteBuilder.java:880) ~[camel-core-model-4.8.0.jar!/:4.8.0]
at org.apache.camel.builder.RouteBuilder.addRoutesToCamelContext(RouteBuilder.java:670) ~[camel-core-model-4.8.0.jar!/:4.8.0]
at org.apache.camel.impl.engine.AbstractCamelContext.addRoutes(AbstractCamelContext.java:995) ~[camel-base-engine-4.8.0.jar!/:4.8.0]
at org.apache.camel.spi.RoutesLoader.loadRoutes(RoutesLoader.java:93) ~[camel-api-4.8.0.jar!/:4.8.0]
at org.eclipse.dirigible.components.engine.camel.processor.CamelProcessor.lambda$addAllRoutes$0(CamelProcessor.java:88) ~[dirigible-components-engine-camel-11.0.0-SNAPSHOT.jar!/:na]
... 13 common frames omitted
Caused by: java.lang.IllegalArgumentException: Route route-1927 has no output processors. You need to add outputs to the route such as to("log:foo").
at org.apache.camel.reifier.RouteReifier.doCreateRoute(RouteReifier.java:214) ~[camel-core-reifier-4.8.0.jar!/:4.8.0]
... 23 common frames omitted
2024-10-21 11:13:34.426 [WARN ] [EclipseDirigibleScheduler_Worker-5] [background] o.e.d.c.i.s.SynchronizationProcessor - Retrying to deplete artefacts left after cross-processing: [camel:/test-camel/test.camel:test.camel]
2024-10-21 11:13:34.427 [INFO ] [EclipseDirigibleScheduler_Worker-5] [background] o.e.d.c.i.s.SynchronizationProcessor - Retry [5] completed - left [1] undepleated artefacts: [[TopologyWrapper [artefact=Artefact [location=/test-camel/test.camel, name=test.camel, type=camel, description=null, key=camel:/test-camel/test.camel:test.camel, dependencies=null, lifecycle=FAILED, phase=CREATE, error=Undepleted artefact in lifecycle [STARTED] and phase [CREATE] with key [camel:/test-camel/test.camel:test.camel], location [/test-camel/test.camel], type [camel], error [org.apache.camel.FailedToCreateRouteException: Failed to create route route-1927 at: >>> From[rest:get:testPath] <<< in route: Route(route-1927)[From[rest:get:testPath] -> []] because of Route route-1927 has no output processors. You need to add outputs to the route such as to("log:foo").], createdBy=SYSTEM, createdAt=Mon Oct 21 11:12:41 EEST 2024, updatedBy=SYSTEM, updatedAt=Mon Oct 21 11:12:41 EEST 2024], synchronizer=camel]]].
2024-10-21 11:13:34.428 [INFO ] [EclipseDirigibleScheduler_Worker-5] [background] o.e.d.c.i.s.SynchronizationProcessor - Wait [10000] millis before next retry
2024-10-21 11:13:44.428 [INFO ] [EclipseDirigibleScheduler_Worker-5] [background] o.e.d.c.i.s.SynchronizationProcessor - Retry [6] - cross-processing of [1] undepleated artefacts: [[TopologyWrapper [artefact=Artefact [location=/test-camel/test.camel, name=test.camel, type=camel, description=null, key=camel:/test-camel/test.camel:test.camel, dependencies=null, lifecycle=FAILED, phase=CREATE, error=Undepleted artefact in lifecycle [STARTED] and phase [CREATE] with key [camel:/test-camel/test.camel:test.camel], location [/test-camel/test.camel], type [camel], error [org.apache.camel.FailedToCreateRouteException: Failed to create route route-1927 at: >>> From[rest:get:testPath] <<< in route: Route(route-1927)[From[rest:get:testPath] -> []] because of Route route-1927 has no output processors. You need to add outputs to the route such as to("log:foo").], createdBy=SYSTEM, createdAt=Mon Oct 21 11:12:41 EEST 2024, updatedBy=SYSTEM, updatedAt=Mon Oct 21 11:12:41 EEST 2024], synchronizer=camel]]]
2024-10-21 11:13:44.460 [ERROR] [EclipseDirigibleScheduler_Worker-5] [background] o.e.d.c.i.s.SynchronizationProcessor - Processing of artefact with key [camel:/test-camel/test.camel:test.camel], location [/test-camel/test.camel] for lifecycle [FATAL] has failed, synchronizer [org.eclipse.dirigible.components.engine.camel.synchronizer.CamelSynchronizer@66cd5f16], error [Undepleted artefact in lifecycle [UPDATED] and phase [CREATE] with key [camel:/test-camel/test.camel:test.camel], location [/test-camel/test.camel], type [camel], error [Undepleted artefact in lifecycle [STARTED] and phase [CREATE] with key [camel:/test-camel/test.camel:test.camel], location [/test-camel/test.camel], type [camel], error [org.apache.camel.FailedToCreateRouteException: Failed to create route route-1927 at: >>> From[rest:get:testPath] <<< in route: Route(route-1927)[From[rest:get:testPath] -> []] because of Route route-1927 has no output processors. You need to add outputs to the route such as to("log:foo").]]], message [Cannot start a Route in a failing state: camel:/test-camel/test.camel:test.camel]
2024-10-21 11:13:44.466 [WARN ] [EclipseDirigibleScheduler_Worker-5] [background] o.e.d.c.i.s.SynchronizationProcessor - Retrying to deplete artefacts left after cross-processing: [camel:/test-camel/test.camel:test.camel]
2024-10-21 11:13:44.466 [INFO ] [EclipseDirigibleScheduler_Worker-5] [background] o.e.d.c.i.s.SynchronizationProcessor - Retry [6] completed - left [1] undepleated artefacts: [[TopologyWrapper [artefact=Artefact [location=/test-camel/test.camel, name=test.camel, type=camel, description=null, key=camel:/test-camel/test.camel:test.camel, dependencies=null, lifecycle=FATAL, phase=CREATE, error=Cannot start a Route in a failing state: camel:/test-camel/test.camel:test.camel, createdBy=SYSTEM, createdAt=Mon Oct 21 11:12:41 EEST 2024, updatedBy=SYSTEM, updatedAt=Mon Oct 21 11:12:41 EEST 2024], synchronizer=camel]]].
2024-10-21 11:13:44.466 [INFO ] [EclipseDirigibleScheduler_Worker-5] [background] o.e.d.c.i.s.SynchronizationProcessor - Wait [10000] millis before next retry
2024-10-21 11:13:54.465 [INFO ] [EclipseDirigibleScheduler_Worker-5] [background] o.e.d.c.i.s.SynchronizationProcessor - Retry [7] - cross-processing of [1] undepleated artefacts: [[TopologyWrapper [artefact=Artefact [location=/test-camel/test.camel, name=test.camel, type=camel, description=null, key=camel:/test-camel/test.camel:test.camel, dependencies=null, lifecycle=FATAL, phase=CREATE, error=Cannot start a Route in a failing state: camel:/test-camel/test.camel:test.camel, createdBy=SYSTEM, createdAt=Mon Oct 21 11:12:41 EEST 2024, updatedBy=SYSTEM, updatedAt=Mon Oct 21 11:12:41 EEST 2024], synchronizer=camel]]]
2024-10-21 11:13:54.467 [INFO ] [EclipseDirigibleScheduler_Worker-5] [background] o.a.c.i.engine.AbstractCamelContext - Routes stopped (total:0)
2024-10-21 11:13:54.481 [ERROR] [EclipseDirigibleScheduler_Worker-5] [background] o.e.d.c.i.s.SynchronizationProcessor - Processing of artefact with key [camel:/test-camel/test.camel:test.camel], location [/test-camel/test.camel] for lifecycle [FAILED] has failed, synchronizer [org.eclipse.dirigible.components.engine.camel.synchronizer.CamelSynchronizer@66cd5f16], error [Cannot start a Route in a failing state: camel:/test-camel/test.camel:test.camel], message [org.apache.camel.FailedToCreateRouteException: Failed to create route route-1927 at: >>> From[rest:get:testPath] <<< in route: Route(route-1927)[From[rest:get:testPath] -> []] because of Route route-1927 has no output processors. You need to add outputs to the route such as to("log:foo").]
org.eclipse.dirigible.components.engine.camel.processor.CamelProcessorException: org.apache.camel.FailedToCreateRouteException: Failed to create route route-1927 at: >>> From[rest:get:testPath] <<< in route: Route(route-1927)[From[rest:get:testPath] -> []] because of Route route-1927 has no output processors. You need to add outputs to the route such as to("log:foo").
at org.eclipse.dirigible.components.engine.camel.processor.CamelProcessor.lambda$addAllRoutes$0(CamelProcessor.java:90) ~[dirigible-components-engine-camel-11.0.0-SNAPSHOT.jar!/:na]
at java.base/java.util.HashMap$Values.forEach(HashMap.java:1073) ~[na:na]
at org.eclipse.dirigible.components.engine.camel.processor.CamelProcessor.addAllRoutes(CamelProcessor.java:86) ~[dirigible-components-engine-camel-11.0.0-SNAPSHOT.jar!/:na]
at org.eclipse.dirigible.components.engine.camel.processor.CamelProcessor.onCreateOrUpdate(CamelProcessor.java:67) ~[dirigible-components-engine-camel-11.0.0-SNAPSHOT.jar!/:na]
at org.eclipse.dirigible.components.engine.camel.synchronizer.CamelSynchronizer.addToProcessor(CamelSynchronizer.java:210) ~[dirigible-components-engine-camel-11.0.0-SNAPSHOT.jar!/:na]
at org.eclipse.dirigible.components.engine.camel.synchronizer.CamelSynchronizer.completeImpl(CamelSynchronizer.java:186) ~[dirigible-components-engine-camel-11.0.0-SNAPSHOT.jar!/:na]
at org.eclipse.dirigible.components.base.synchronizer.BaseSynchronizer.complete(BaseSynchronizer.java:50) ~[dirigible-components-core-base-11.0.0-SNAPSHOT.jar!/:na]
at org.eclipse.dirigible.components.base.artefact.topology.TopologyWrapper.complete(TopologyWrapper.java:115) ~[dirigible-components-core-base-11.0.0-SNAPSHOT.jar!/:na]
at org.eclipse.dirigible.components.base.artefact.topology.TopologicalDepleter.deplete(TopologicalDepleter.java:47) ~[dirigible-components-core-base-11.0.0-SNAPSHOT.jar!/:na]
at org.eclipse.dirigible.components.initializers.synchronizer.SynchronizationProcessor.processSynchronizers(SynchronizationProcessor.java:322) ~[dirigible-components-core-initializers-11.0.0-SNAPSHOT.jar!/:na]
at org.eclipse.dirigible.components.initializers.synchronizer.SynchronizationJobService.executeSynchronizationJob(SynchronizationJobService.java:52) ~[dirigible-components-core-initializers-11.0.0-SNAPSHOT.jar!/:na]
at org.eclipse.dirigible.components.initializers.synchronizer.SynchronizationJob.execute(SynchronizationJob.java:112) ~[dirigible-components-core-initializers-11.0.0-SNAPSHOT.jar!/:na]
at org.quartz.core.JobRunShell.run(JobRunShell.java:202) ~[quartz-2.3.2.jar!/:na]
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) ~[quartz-2.3.2.jar!/:na]
Caused by: org.apache.camel.FailedToCreateRouteException: Failed to create route route-1927 at: >>> From[rest:get:testPath] <<< in route: Route(route-1927)[From[rest:get:testPath] -> []] because of Route route-1927 has no output processors. You need to add outputs to the route such as to("log:foo").
at org.apache.camel.reifier.RouteReifier.doCreateRoute(RouteReifier.java:216) ~[camel-core-reifier-4.8.0.jar!/:4.8.0]
at org.apache.camel.reifier.RouteReifier.createRoute(RouteReifier.java:86) ~[camel-core-reifier-4.8.0.jar!/:4.8.0]
at org.apache.camel.impl.DefaultModelReifierFactory.createRoute(DefaultModelReifierFactory.java:49) ~[camel-core-engine-4.8.0.jar!/:4.8.0]
at org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:726) ~[camel-core-engine-4.8.0.jar!/:4.8.0]
at org.apache.camel.impl.DefaultModel.addRouteDefinitions(DefaultModel.java:288) ~[camel-core-engine-4.8.0.jar!/:4.8.0]
at org.apache.camel.impl.DefaultCamelContext.addRouteDefinitions(DefaultCamelContext.java:280) ~[camel-core-engine-4.8.0.jar!/:4.8.0]
at org.apache.camel.builder.RouteBuilder.populateRoutes(RouteBuilder.java:880) ~[camel-core-model-4.8.0.jar!/:4.8.0]
at org.apache.camel.builder.RouteBuilder.addRoutesToCamelContext(RouteBuilder.java:670) ~[camel-core-model-4.8.0.jar!/:4.8.0]
at org.apache.camel.impl.engine.AbstractCamelContext.addRoutes(AbstractCamelContext.java:995) ~[camel-base-engine-4.8.0.jar!/:4.8.0]
at org.apache.camel.spi.RoutesLoader.loadRoutes(RoutesLoader.java:93) ~[camel-api-4.8.0.jar!/:4.8.0]
at org.eclipse.dirigible.components.engine.camel.processor.CamelProcessor.lambda$addAllRoutes$0(CamelProcessor.java:88) ~[dirigible-components-engine-camel-11.0.0-SNAPSHOT.jar!/:na]
... 13 common frames omitted
Caused by: java.lang.IllegalArgumentException: Route route-1927 has no output processors. You need to add outputs to the route such as to("log:foo").
at org.apache.camel.reifier.RouteReifier.doCreateRoute(RouteReifier.java:214) ~[camel-core-reifier-4.8.0.jar!/:4.8.0]
... 23 common frames omitted
2024-10-21 11:13:54.500 [WARN ] [EclipseDirigibleScheduler_Worker-5] [background] o.e.d.c.i.s.SynchronizationProcessor - Retrying to deplete artefacts left after cross-processing: [camel:/test-camel/test.camel:test.camel]
2024-10-21 11:13:54.500 [INFO ] [EclipseDirigibleScheduler_Worker-5] [background] o.e.d.c.i.s.SynchronizationProcessor - Retry [7] completed - left [1] undepleated artefacts: [[TopologyWrapper [artefact=Artefact [location=/test-camel/test.camel, name=test.camel, type=camel, description=null, key=camel:/test-camel/test.camel:test.camel, dependencies=null, lifecycle=FAILED, phase=CREATE, error=Undepleted artefact in lifecycle [STARTED] and phase [CREATE] with key [camel:/test-camel/test.camel:test.camel], location [/test-camel/test.camel], type [camel], error [org.apache.camel.FailedToCreateRouteException: Failed to create route route-1927 at: >>> From[rest:get:testPath] <<< in route: Route(route-1927)[From[rest:get:testPath] -> []] because of Route route-1927 has no output processors. You need to add outputs to the route such as to("log:foo").], createdBy=SYSTEM, createdAt=Mon Oct 21 11:12:41 EEST 2024, updatedBy=SYSTEM, updatedAt=Mon Oct 21 11:12:41 EEST 2024], synchronizer=camel]]].
2024-10-21 11:13:54.500 [INFO ] [EclipseDirigibleScheduler_Worker-5] [background] o.e.d.c.i.s.SynchronizationProcessor - Wait [10000] millis before next retry
2024-10-21 11:14:02.419 [INFO ] [http-nio-8080-exec-9] [default-tenant] o.e.d.c.i.w.service.PublisherService - Unpublished resource: /registry/public/test-camel/test.camel
2024-10-21 11:14:04.506 [INFO ] [EclipseDirigibleScheduler_Worker-5] [background] o.e.d.c.i.s.SynchronizationProcessor - Retry [8] - cross-processing of [1] undepleated artefacts: [[TopologyWrapper [artefact=Artefact [location=/test-camel/test.camel, name=test.camel, type=camel, description=null, key=camel:/test-camel/test.camel:test.camel, dependencies=null, lifecycle=FAILED, phase=CREATE, error=Undepleted artefact in lifecycle [STARTED] and phase [CREATE] with key [camel:/test-camel/test.camel:test.camel], location [/test-camel/test.camel], type [camel], error [org.apache.camel.FailedToCreateRouteException: Failed to create route route-1927 at: >>> From[rest:get:testPath] <<< in route: Route(route-1927)[From[rest:get:testPath] -> []] because of Route route-1927 has no output processors. You need to add outputs to the route such as to("log:foo").], createdBy=SYSTEM, createdAt=Mon Oct 21 11:12:41 EEST 2024, updatedBy=SYSTEM, updatedAt=Mon Oct 21 11:12:41 EEST 2024], synchronizer=camel]]]
2024-10-21 11:14:04.535 [ERROR] [EclipseDirigibleScheduler_Worker-5] [background] o.e.d.c.i.s.SynchronizationProcessor - Processing of artefact with key [camel:/test-camel/test.camel:test.camel], location [/test-camel/test.camel] for lifecycle [FATAL] has failed, synchronizer [org.eclipse.dirigible.components.engine.camel.synchronizer.CamelSynchronizer@66cd5f16], error [Undepleted artefact in lifecycle [UPDATED] and phase [CREATE] with key [camel:/test-camel/test.camel:test.camel], location [/test-camel/test.camel], type [camel], error [Undepleted artefact in lifecycle [STARTED] and phase [CREATE] with key [camel:/test-camel/test.camel:test.camel], location [/test-camel/test.camel], type [camel], error [org.apache.camel.FailedToCreateRouteException: Failed to create route route-1927 at: >>> From[rest:get:testPath] <<< in route: Route(route-1927)[From[rest:get:testPath] -> []] because of Route route-1927 has no output processors. You need to add outputs to the route such as to("log:foo").]]], message [Cannot start a Route in a failing state: camel:/test-camel/test.camel:test.camel]
2024-10-21 11:14:04.545 [WARN ] [EclipseDirigibleScheduler_Worker-5] [background] o.e.d.c.i.s.SynchronizationProcessor - Retrying to deplete artefacts left after cross-processing: [camel:/test-camel/test.camel:test.camel]
2024-10-21 11:14:04.545 [INFO ] [EclipseDirigibleScheduler_Worker-5] [background] o.e.d.c.i.s.SynchronizationProcessor - Retry [8] completed - left [1] undepleated artefacts: [[TopologyWrapper [artefact=Artefact [location=/test-camel/test.camel, name=test.camel, type=camel, description=null, key=camel:/test-camel/test.camel:test.camel, dependencies=null, lifecycle=FATAL, phase=CREATE, error=Cannot start a Route in a failing state: camel:/test-camel/test.camel:test.camel, createdBy=SYSTEM, createdAt=Mon Oct 21 11:12:41 EEST 2024, updatedBy=SYSTEM, updatedAt=Mon Oct 21 11:12:41 EEST 2024], synchronizer=camel]]].
2024-10-21 11:14:04.546 [INFO ] [EclipseDirigibleScheduler_Worker-5] [background] o.e.d.c.i.s.SynchronizationProcessor - Wait [10000] millis before next retry
2024-10-21 11:14:14.550 [INFO ] [EclipseDirigibleScheduler_Worker-5] [background] o.e.d.c.i.s.SynchronizationProcessor - Retry [9] - cross-processing of [1] undepleated artefacts: [[TopologyWrapper [artefact=Artefact [location=/test-camel/test.camel, name=test.camel, type=camel, description=null, key=camel:/test-camel/test.camel:test.camel, dependencies=null, lifecycle=FATAL, phase=CREATE, error=Cannot start a Route in a failing state: camel:/test-camel/test.camel:test.camel, createdBy=SYSTEM, createdAt=Mon Oct 21 11:12:41 EEST 2024, updatedBy=SYSTEM, updatedAt=Mon Oct 21 11:12:41 EEST 2024], synchronizer=camel]]]
2024-10-21 11:14:14.556 [INFO ] [EclipseDirigibleScheduler_Worker-5] [background] o.a.c.i.engine.AbstractCamelContext - Routes stopped (total:0)
2024-10-21 11:14:14.567 [ERROR] [EclipseDirigibleScheduler_Worker-5] [background] o.e.d.c.i.s.SynchronizationProcessor - Processing of artefact with key [camel:/test-camel/test.camel:test.camel], location [/test-camel/test.camel] for lifecycle [FAILED] has failed, synchronizer [org.eclipse.dirigible.components.engine.camel.synchronizer.CamelSynchronizer@66cd5f16], error [Cannot start a Route in a failing state: camel:/test-camel/test.camel:test.camel], message [org.apache.camel.FailedToCreateRouteException: Failed to create route route-1927 at: >>> From[rest:get:testPath] <<< in route: Route(route-1927)[From[rest:get:testPath] -> []] because of Route route-1927 has no output processors. You need to add outputs to the route such as to("log:foo").]
org.eclipse.dirigible.components.engine.camel.processor.CamelProcessorException: org.apache.camel.FailedToCreateRouteException: Failed to create route route-1927 at: >>> From[rest:get:testPath] <<< in route: Route(route-1927)[From[rest:get:testPath] -> []] because of Route route-1927 has no output processors. You need to add outputs to the route such as to("log:foo").
at org.eclipse.dirigible.components.engine.camel.processor.CamelProcessor.lambda$addAllRoutes$0(CamelProcessor.java:90) ~[dirigible-components-engine-camel-11.0.0-SNAPSHOT.jar!/:na]
at java.base/java.util.HashMap$Values.forEach(HashMap.java:1073) ~[na:na]
at org.eclipse.dirigible.components.engine.camel.processor.CamelProcessor.addAllRoutes(CamelProcessor.java:86) ~[dirigible-components-engine-camel-11.0.0-SNAPSHOT.jar!/:na]
at org.eclipse.dirigible.components.engine.camel.processor.CamelProcessor.onCreateOrUpdate(CamelProcessor.java:67) ~[dirigible-components-engine-camel-11.0.0-SNAPSHOT.jar!/:na]
at org.eclipse.dirigible.components.engine.camel.synchronizer.CamelSynchronizer.addToProcessor(CamelSynchronizer.java:210) ~[dirigible-components-engine-camel-11.0.0-SNAPSHOT.jar!/:na]
at org.eclipse.dirigible.components.engine.camel.synchronizer.CamelSynchronizer.completeImpl(CamelSynchronizer.java:186) ~[dirigible-components-engine-camel-11.0.0-SNAPSHOT.jar!/:na]
at org.eclipse.dirigible.components.base.synchronizer.BaseSynchronizer.complete(BaseSynchronizer.java:50) ~[dirigible-components-core-base-11.0.0-SNAPSHOT.jar!/:na]
at org.eclipse.dirigible.components.base.artefact.topology.TopologyWrapper.complete(TopologyWrapper.java:115) ~[dirigible-components-core-base-11.0.0-SNAPSHOT.jar!/:na]
at org.eclipse.dirigible.components.base.artefact.topology.TopologicalDepleter.deplete(TopologicalDepleter.java:47) ~[dirigible-components-core-base-11.0.0-SNAPSHOT.jar!/:na]
at org.eclipse.dirigible.components.initializers.synchronizer.SynchronizationProcessor.processSynchronizers(SynchronizationProcessor.java:322) ~[dirigible-components-core-initializers-11.0.0-SNAPSHOT.jar!/:na]
at org.eclipse.dirigible.components.initializers.synchronizer.SynchronizationJobService.executeSynchronizationJob(SynchronizationJobService.java:52) ~[dirigible-components-core-initializers-11.0.0-SNAPSHOT.jar!/:na]
at org.eclipse.dirigible.components.initializers.synchronizer.SynchronizationJob.execute(SynchronizationJob.java:112) ~[dirigible-components-core-initializers-11.0.0-SNAPSHOT.jar!/:na]
at org.quartz.core.JobRunShell.run(JobRunShell.java:202) ~[quartz-2.3.2.jar!/:na]
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) ~[quartz-2.3.2.jar!/:na]
Caused by: org.apache.camel.FailedToCreateRouteException: Failed to create route route-1927 at: >>> From[rest:get:testPath] <<< in route: Route(route-1927)[From[rest:get:testPath] -> []] because of Route route-1927 has no output processors. You need to add outputs to the route such as to("log:foo").
at org.apache.camel.reifier.RouteReifier.doCreateRoute(RouteReifier.java:216) ~[camel-core-reifier-4.8.0.jar!/:4.8.0]
at org.apache.camel.reifier.RouteReifier.createRoute(RouteReifier.java:86) ~[camel-core-reifier-4.8.0.jar!/:4.8.0]
at org.apache.camel.impl.DefaultModelReifierFactory.createRoute(DefaultModelReifierFactory.java:49) ~[camel-core-engine-4.8.0.jar!/:4.8.0]
at org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:726) ~[camel-core-engine-4.8.0.jar!/:4.8.0]
at org.apache.camel.impl.DefaultModel.addRouteDefinitions(DefaultModel.java:288) ~[camel-core-engine-4.8.0.jar!/:4.8.0]
at org.apache.camel.impl.DefaultCamelContext.addRouteDefinitions(DefaultCamelContext.java:280) ~[camel-core-engine-4.8.0.jar!/:4.8.0]
at org.apache.camel.builder.RouteBuilder.populateRoutes(RouteBuilder.java:880) ~[camel-core-model-4.8.0.jar!/:4.8.0]
at org.apache.camel.builder.RouteBuilder.addRoutesToCamelContext(RouteBuilder.java:670) ~[camel-core-model-4.8.0.jar!/:4.8.0]
at org.apache.camel.impl.engine.AbstractCamelContext.addRoutes(AbstractCamelContext.java:995) ~[camel-base-engine-4.8.0.jar!/:4.8.0]
at org.apache.camel.spi.RoutesLoader.loadRoutes(RoutesLoader.java:93) ~[camel-api-4.8.0.jar!/:4.8.0]
at org.eclipse.dirigible.components.engine.camel.processor.CamelProcessor.lambda$addAllRoutes$0(CamelProcessor.java:88) ~[dirigible-components-engine-camel-11.0.0-SNAPSHOT.jar!/:na]
... 13 common frames omitted
Caused by: java.lang.IllegalArgumentException: Route route-1927 has no output processors. You need to add outputs to the route such as to("log:foo").
at org.apache.camel.reifier.RouteReifier.doCreateRoute(RouteReifier.java:214) ~[camel-core-reifier-4.8.0.jar!/:4.8.0]
... 23 common frames omitted
2024-10-21 11:14:14.605 [WARN ] [EclipseDirigibleScheduler_Worker-5] [background] o.e.d.c.i.s.SynchronizationProcessor - Retrying to deplete artefacts left after cross-processing: [camel:/test-camel/test.camel:test.camel]
2024-10-21 11:14:14.607 [INFO ] [EclipseDirigibleScheduler_Worker-5] [background] o.e.d.c.i.s.SynchronizationProcessor - Retry [9] completed - left [1] undepleated artefacts: [[TopologyWrapper [artefact=Artefact [location=/test-camel/test.camel, name=test.camel, type=camel, description=null, key=camel:/test-camel/test.camel:test.camel, dependencies=null, lifecycle=FAILED, phase=CREATE, error=Undepleted artefact in lifecycle [STARTED] and phase [CREATE] with key [camel:/test-camel/test.camel:test.camel], location [/test-camel/test.camel], type [camel], error [org.apache.camel.FailedToCreateRouteException: Failed to create route route-1927 at: >>> From[rest:get:testPath] <<< in route: Route(route-1927)[From[rest:get:testPath] -> []] because of Route route-1927 has no output processors. You need to add outputs to the route such as to("log:foo").], createdBy=SYSTEM, createdAt=Mon Oct 21 11:12:41 EEST 2024, updatedBy=SYSTEM, updatedAt=Mon Oct 21 11:12:41 EEST 2024], synchronizer=camel]]].
2024-10-21 11:14:14.608 [INFO ] [EclipseDirigibleScheduler_Worker-5] [background] o.e.d.c.i.s.SynchronizationProcessor - Wait [10000] millis before next retry
2024-10-21 11:14:24.614 [INFO ] [EclipseDirigibleScheduler_Worker-5] [background] o.e.d.c.i.s.SynchronizationProcessor - Retry [10] - cross-processing of [1] undepleated artefacts: [[TopologyWrapper [artefact=Artefact [location=/test-camel/test.camel, name=test.camel, type=camel, description=null, key=camel:/test-camel/test.camel:test.camel, dependencies=null, lifecycle=FAILED, phase=CREATE, error=Undepleted artefact in lifecycle [STARTED] and phase [CREATE] with key [camel:/test-camel/test.camel:test.camel], location [/test-camel/test.camel], type [camel], error [org.apache.camel.FailedToCreateRouteException: Failed to create route route-1927 at: >>> From[rest:get:testPath] <<< in route: Route(route-1927)[From[rest:get:testPath] -> []] because of Route route-1927 has no output processors. You need to add outputs to the route such as to("log:foo").], createdBy=SYSTEM, createdAt=Mon Oct 21 11:12:41 EEST 2024, updatedBy=SYSTEM, updatedAt=Mon Oct 21 11:12:41 EEST 2024], synchronizer=camel]]]
2024-10-21 11:14:24.642 [ERROR] [EclipseDirigibleScheduler_Worker-5] [background] o.e.d.c.i.s.SynchronizationProcessor - Processing of artefact with key [camel:/test-camel/test.camel:test.camel], location [/test-camel/test.camel] for lifecycle [FATAL] has failed, synchronizer [org.eclipse.dirigible.components.engine.camel.synchronizer.CamelSynchronizer@66cd5f16], error [Undepleted artefact in lifecycle [UPDATED] and phase [CREATE] with key [camel:/test-camel/test.camel:test.camel], location [/test-camel/test.camel], type [camel], error [Undepleted artefact in lifecycle [STARTED] and phase [CREATE] with key [camel:/test-camel/test.camel:test.camel], location [/test-camel/test.camel], type [camel], error [org.apache.camel.FailedToCreateRouteException: Failed to create route route-1927 at: >>> From[rest:get:testPath] <<< in route: Route(route-1927)[From[rest:get:testPath] -> []] because of Route route-1927 has no output processors. You need to add outputs to the route such as to("log:foo").]]], message [Cannot start a Route in a failing state: camel:/test-camel/test.camel:test.camel]
2024-10-21 11:14:24.645 [WARN ] [EclipseDirigibleScheduler_Worker-5] [background] o.e.d.c.i.s.SynchronizationProcessor - Retrying to deplete artefacts left after cross-processing: [camel:/test-camel/test.camel:test.camel]
2024-10-21 11:14:24.646 [ERROR] [EclipseDirigibleScheduler_Worker-5] [background] o.e.d.c.i.s.SynchronizationProcessor - Final retry completed. Left artefacts after cross-processing: [camel:/test-camel/test.camel:test.camel]
2024-10-21 11:14:24.646 [WARN ] [EclipseDirigibleScheduler_Worker-5] [background] o.e.d.c.i.s.SynchronizationProcessor - Cross-processing of undepleated artefacts done.
2024-10-21 11:14:24.703 [INFO ] [EclipseDirigibleScheduler_Worker-5] [background] o.a.c.i.engine.AbstractCamelContext - Routes stopped (total:0)
The text was updated successfully, but these errors were encountered:
iliyan-velichkov
changed the title
Wrong camel file synchronization issue [retry logic]
Wrong camel file synchronization issue in the retry logic
Oct 21, 2024
iliyan-velichkov
changed the title
Wrong camel file synchronization issue in the retry logic
[Camel] Wrong camel file synchronization issue in the retry logic
Oct 22, 2024
When you define a camel file which is invalid and save it, the synchronizer is trying to register it.
Unfortunately, it cannot be registered because it is invalid but the synchronizers logic retries to register it by executing the retry mechanism.
Even if you apply a fix for the camel file, the retry mechanism continues to try to register it but using the old version of the camel file (which is invalid). You have to wait until the retry mechanism finish its execution and republish the resource to make it work.
With the default configurations, the retry mechanism takes around 90 seconds to complete its execution.
From development perspective, it is annoying to wait so much time until you are able to check whether you managed to fix the camel file properly.
Will better if the retry logic uses the latest version of the camel file content instead of using the previous version. This way you can speed up your development.
Example incorrect camel file
incorrect-camel.camel
:Example retry logs
The text was updated successfully, but these errors were encountered: