December 2013
Intermediate to advanced
424 pages
9h 7m
English
This recipe will show you how to integrate Camel into a Spring application.
When using Camel within a Spring application, it is necessary to add the following dependencies to the minimal set defined in the Using Camel in a Java application recipe in this chapter:
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-spring</artifactId>
<version>${camel-version}</version>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-test-spring</artifactId>
<version>${camel-version}</version>
<scope>test</scope>
</dependency>The ${camel-version} property is defined once in the Maven POM.
The Java code for this recipe is located in the org.camelcookbook.structuringroutes.simplespring ...
Read now
Unlock full access