Versions Compared

Key

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

...

Archetype

Description

camel-archetype-activemq

This archetype is used to create a new Maven project for Camel routes. You can use this quickly to get up to speed using Camel with ActiveMQ

camel-archetype-component

This archetype is used for creating a new Maven project for Camel components. Use this if there is a component missing in Camel that you want to create yourself.

camel-archetype-java

This archetype is used to create a new Maven project for Camel routes. You can use this quickly to get up to speed. The archetypes includes sample code that supporting Spring style routing as well.

camel-archetype-scala

This archetype is used to create a new Maven projects for building Camel routes in the Scala DSL. The archetype contains a sample RouteBuilder as well as configuration for using the routes from Spring and OSGi.

camel-archetype-spring

This archetype is used to create a new Maven project for Camel routes. You can use this quickly to get up to speed. It is very similar to the camel-archetype-java archetype with the Java DSL transposed to Spring XML.

Info

When using these archetypes, make sure your package name is not org.apache.camel (or a sub package of this) as this will instruct Camel to search in its own packages for your routes. This can also cause Camel not to start, as shown in CAMEL-1197.

Examples

See Creating a new Spring based Camel Route for a sample how to use the camel-archetype-java and camel-archetype-spring archetypes.