org.apache.camel.FailedToCreateRouteException: Failed to create route route15 at: >>> FlowEndProcessor[[]] <<< in route: Route(route15)[[From[jms:queue:delivery-file]] -> [To[file:w... because of context argument is not a SpringCamelContext

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Alexander Kley, 10 months ago
Failed to create route route15 at: >>> FlowEndProcessor[[]] <<< in route: Route(route15)[[From[jms:queue:delivery-file]] -> [To[file:w... because of context argument is not a SpringCamelContext
via Apache's JIRA Issue Tracker by Andrea Cosentino, 1 year ago
Failed to create route route1 at: >>> To[{{destination}}] <<< in route: Route(route1)[[From[direct:start]] -> [Bean[ref:myCoolBean m... because of Property with key [destination] not found in properties from text: {{destination}}
via Stack Overflow by Rahul
, 1 year ago
Failed to create route route1 at: >>> Marshal[org.apache.camel.model.dataformat.XStreamDataFormat@1aa9f99] <<< in route: Route[[From[file://C:/Users/JaHnAvI/Desktop?fileName=Employe... because of Data format 'xstream' could not be created. Ensure that the data format is valid and the associated Camel component is present on the classpath
via Google Groups by Mel, 4 months ago
Failed to create route route2 at: >>> To[space:transient:default?key=txnmgr] <<< in route: Route(route2)[[From[direct:process]] -> [process[com.vmantek... because of Failed to resolve endpoint: space://transient:default?key=txnmgr due to: No component found with scheme: space
via Stack Overflow by coder006
, 1 year ago
Failed to create route route1 at: >>> To[rabbitmq://localhost:15672?queue=hello] <<< in route: Route(route1)[[From[file://target/?fileName=doctor.txt&chars... because of Failed to resolve endpoint: rabbitmq://localhost:15672?queue=hello due to: No URI path as the exchangeName for the RabbitMQEndpoint, the URI is rabbitmq://localhost:15672?queue=hello
via Stack Overflow by sjdms265
, 2 years ago
Failed to create route route1 at: &gt;&gt;&gt; To[jcr://admin:admin@localhost:8080/rmi/home/test] &lt;&lt;&lt; in route: Route[[From[direct:a]] -&gt; [SetProperty[CamelJcrNodeName, {no... **because of Failed to resolve endpoint: jcr://admin:admin@localhost:8080/rmi/home/test due to: No JCR repository defined under 'localhost'**
org.apache.camel.FailedToCreateRouteException: Failed to create route route15 at: >>> FlowEndProcessor[[]] <<< in route: Route(route15)[[From[jms:queue:delivery-file]] -> [To[file:w... because of context argument is not a SpringCamelContext
at org.openehealth.ipf.platform.camel.core.util.Contexts.getApplicationContext(Contexts.java:57)
at org.openehealth.ipf.platform.camel.core.util.Contexts.beanOrNull(Contexts.java:38)
at org.openehealth.ipf.platform.camel.flow.model.FlowEndProcessorDefinition.createFlowEndProcessor(FlowEndProcessorDefinition.java:47)
at org.openehealth.ipf.platform.camel.flow.model.FlowEndProcessorDefinition.doCreateProcessor(FlowEndProcessorDefinition.java:42)
at org.openehealth.ipf.platform.camel.flow.model.FlowProcessorDefinition.createProcessor(FlowProcessorDefinition.java:116)
at org.apache.camel.model.ProcessorDefinition.makeProcessor(ProcessorDefinition.java:500)
at org.apache.camel.model.ProcessorDefinition.addRoutes(ProcessorDefinition.java:213)
at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:909)
at org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:177)
at org.apache.camel.impl.DefaultCamelContext.startRoute(DefaultCamelContext.java:770)
at org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:1914)
at org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:1670)
at org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:1544)
at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)
at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:1512)
at org.apache.camel.blueprint.BlueprintCamelContext.start(BlueprintCamelContext.java:177)
at org.apache.camel.blueprint.BlueprintCamelContext.maybeStart(BlueprintCamelContext.java:209)
at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:932)
at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:793)
at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:543)
at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4419)
at org.apache.felix.framework.Felix.registerService(Felix.java:3423)
at org.apache.aries.blueprint.container.BlueprintContainerImpl.registerService(BlueprintContainerImpl.java:452)
at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:387)
at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:269)
at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:276)
at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:245)
at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:500)
at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:433)
at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$AbstractTracked.track(BundleHookBundleTracker.java:725)
at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.bundleChanged(BundleHookBundleTracker.java:463)
at org.apache.felix.framework.util.SecureAction.invokeBundleEventHook(SecureAction.java:1103)
at org.apache.felix.framework.util.EventDispatcher.createWhitelistFromHooks(EventDispatcher.java:695)
at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:483)
at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4403)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2092)
at org.apache.felix.framework.Felix.updateBundle(Felix.java:2404)
at org.apache.felix.framework.BundleImpl.update(BundleImpl.java:973)
at org.apache.karaf.bundle.command.Update.doExecute(Update.java:42)
at org.apache.karaf.bundle.command.BundleCommand.doExecute(BundleCommand.java:49)
at org.apache.karaf.bundle.command.BundleCommandWithConfirmation.doExecute(BundleCommandWithConfirmation.java:34)
at org.apache.karaf.shell.console.AbstractAction.execute(AbstractAction.java:33)
at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:39)
at sun.reflect.GeneratedMethodAccessor51.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:54)
at sun.reflect.GeneratedMethodAccessor51.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:54)
at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)
at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)
at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)
at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)
at org.apache.karaf.shell.console.impl.jline.ConsoleImpl$DelegateSession.execute(ConsoleImpl.java:521)
at java.lang.Thread.run(Thread.java:724)
at org.apache.karaf.shell.console.impl.jline.ConsoleFactoryService$3.doRun(ConsoleFactoryService.java:126)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.