Skip to content
Branch: master
Find file History
Latest commit bc8a604 Jul 4, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/main CAMEL-13686: camel-main - Added option to log summary or not. Jun 28, 2019
pom.xml Revert "Use property replacement instead of version management for ca… Jul 4, 2019
readme.adoc Polished May 12, 2019


Camel Example Main

This example shows how to run Camel standalone via the built-in Main class. The example also demonstrates how you can configure the Camel application via Camel built-in dependency-injection that supports binding via the @BindToRegistry, @BeanInject and @PropertyInject annotations.

Also notice how you can configure Camel in the file.

Alternative example

The class StandaloneCamel is an alternative example that uses a public static void main class and where you manually setup Camel without any help from Camel’s built-in Main class. However it shows how to do this in a raw style without using any magic.

How to run

You can run this example using

mvn camel:run

More information

You can find more information about Apache Camel at the website:

You can’t perform that action at this time.