You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

The usual cause for this Exception is a missing component JAR on the classpath. You can solve the issue by adding the required JAR files to the classpath.

An example:
If you try to use the definition below without having camel-jetty.jar on the classpath, you'll run into org.apache.camel.RuntimeCamelException: org.apache.camel.NoSuchEndpointException: No endpoint could be found for: jetty:http://localhost:8080/bus

<camelContext id="camel" xmlns="http://activemq.apache.org/camel/schema/spring">
    <route>
	<from uri="jetty:http://localhost:8080/bus" />
	<to uri="file://C:/tmp/something.xml" /> 
    </route>
</camelContext>
  • No labels