
<b><h2>Configure and Use Apache Camel with Spring</h2></b>

This article will demonstrate how to configure and use Apache Camel with Spring Framework.

<b><h2>Relevant Articles</h2></b>

<ul>
  <li><a href="http://camel.apache.org/">Apache Camel</a></li>
  <li><a href="http://www.enterpriseintegrationpatterns.com/patterns/messaging/toc.html">Enterprise Integration Patterns</a></li>
  <li><a href="http://www.baeldung.com/apache-camel-intro">Introduction To Apache Camel</a></li>
  <li><a href="http://www.baeldung.com/camel-integration-patterns">Integration Patterns With Apache Camel</a></li>
</ul>

<b><h2>Framework Versions:</h2></b>

<ul>
  <li>Spring 4.2.4</li>
  <li>Apache Camel 2.16.1</li>
</ul>

<b><h2>Build and Run Application</h2></b>

To build this application execute following maven command in ApacheCamelFileProcessor directory.

<code>mvn clean install</code>

To run this application you can either run our main class App from your IDE or you can execute following maven command:

<code>mvn exec:java -Dexec.mainClass="App"</code>

<b><h2>Relevant Articles on Baeldung</h2></b>
<ul>
  <li><a href="http://www.baeldung.com/spring-apache-camel-tutorial">Using Apache Camel with Spring</a></li>
</ul>
