Skip to content

Latest commit

 

History

History
45 lines (29 loc) · 1.16 KB

README.adoc

File metadata and controls

45 lines (29 loc) · 1.16 KB

Camel Basic Example

Introduction

This is a very basic example that shows how to get started with Camel.

This example shows you that Camel can be used in standalone mode as a public static void main application.

The example has only 1 java file in the CamelBasic.java located in the src folder. There is code comments explaining in more details.

Build

You will need to compile this example first:

$ mvn compile

Run

To run the example type

$ mvn camel:run

To stop the example hit ctrl+c

You can also run the example from your editor such as Eclipse, IDEA etc, by opening the class org.apache.camel.example.basic.CamelBasic.java and then right click, and chose run java application.

Help and contributions

If you hit any problem using Camel or have some feedback, then please let us know.

We also love contributors, so get involved :-)

The Camel riders!