Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The usual cause for this Exception is a missing component JAR on the classpath. The exception detail message will tell you what the missing component is. 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: this exception
org.apache.camel.NoSuchEndpointException: No endpoint could be found for: jetty:http://localhost:8080/busImage Removed

Code Block
xml
xml
<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>