org.apache.camel.RuntimeCamelException: org.apache.camel.FailedToCreateRouteException: Failed to create route route2 at: >>> To[direct-vm:testHZ] <<< in route: Route(route2)[[From[jms:queue:startEndpoint]] -> [To[direct-... because of Failed to resolve endpoint: direct-vm://testHZ due to: Cannot auto create component: direct-vm

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 GitHub by thomasmodeneis
, 1 year ago
org.apache.camel.FailedToCreateRouteException: Failed to create route route2 at: >>> To[direct-vm:testHZ] <<< in route: Route(route2)[[From[jms:queue:startEndpoint]] -> [To[direct-... because of Failed to resolve endpoint: direct-vm://testHZ due to: Cannot auto create component: direct-vm
via nabble.com by Unknown author, 2 years ago
org.apache.camel.FailedToCreateRouteException: Failed to create route route1: Route[[From[jbi:endpoint: ... because of Failed to resolve endpoint: jbi://endpoint:  due to: Cannot auto create component: jbi
via Apache's JIRA Issue Tracker by Ge@@ru, 1 year ago
org.apache.camel.FailedToCreateRouteException: Failed to create route route1: Route[[From[jbi:endpoint:http://servicemix.apache.org/exampl... because of Failed to resolve endpoint: jbi://endpoint:http://servicemix.apache.org/examples/camel/receiver/endpoint due to: Cannot auto create component: jbi
via grokbase.com by Unknown author, 2 years ago
org.apache.camel.FailedToCreateRouteException: Failed to create route route1: Route[[From[jbi:endpoint:http://servicemix.apache.org/exampl... because of Failed to resolve endpoint: jbi://endpoint:http://servicemix.apache.org/examples/camel/receiver/endpoint due to: Cannot auto create component: jbi
via grokbase.com by Unknown author, 2 years ago
org.apache.camel.FailedToCreateRouteException: Failed to create route route1: Route[[From[jbi:endpoint:http://servicemix.apache.org/exampl... because of Failed to resolve endpoint: jbi://endpoint:http://servicemix.apache.org/examples/camel/receiver/endpoint due to: Cannot auto create component: jbi
via Stack Overflow by user8283048
, 6 months ago
org.apache.camel.FailedToCreateRouteException: Failed to create route route371: Route(route371)[[From[quartz://test/testQuartzJob?c... because of Failed to resolve endpoint: quartz://test/testQuartzJob?cron=0+0%2F15+*+1%2F1+*+%3F due to: Cannot auto create component: quartz
java.lang.ClassNotFoundException: org.apache.camel.component.directvm.DirectVmComponent not found by com.hazelcast.api.hazelcast-endpoint [343]
at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1532)
at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:75)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at org.apache.felix.framework.Felix.loadBundleClass(Felix.java:1870)
at org.apache.camel.impl.osgi.Activator$BaseResolver.createInstance(Activator.java:408)
at org.apache.camel.impl.osgi.Activator$BaseResolver.createInstance(Activator.java:400)
at org.apache.camel.core.osgi.OsgiComponentResolver.getComponent(OsgiComponentResolver.java:76)
at org.apache.camel.impl.DefaultCamelContext.getComponent(DefaultCamelContext.java:350)
at org.apache.camel.impl.DefaultCamelContext.getComponent(DefaultCamelContext.java:337)
at org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:501)
at org.apache.camel.util.CamelContextHelper.getMandatoryEndpoint(CamelContextHelper.java:71)
at org.apache.camel.model.RouteDefinition.resolveEndpoint(RouteDefinition.java:192)
at org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:106)
at org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:112)
at org.apache.camel.model.SendDefinition.resolveEndpoint(SendDefinition.java:61)
at org.apache.camel.model.SendDefinition.createProcessor(SendDefinition.java:55)
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:778)
at org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:1959)
at org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:1709)
at org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:1583)
at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)
at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:1551)
at org.apache.camel.spring.SpringCamelContext.maybeStart(SpringCamelContext.java:254)
at org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:120)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:96)
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:334)
at org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext.finishRefresh(AbstractOsgiBundleApplicationContext.java:235)
at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:358)
at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:132)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Once, 1 year ago
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 3 months ago
Samebug visitor profile picture
Unknown user
Once, 11 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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