Spring Java ConfigPage edited by willem jiangChanges (1)
Full ContentSpring Java ConfigSpring started life using XML Config to wire beans together. However some folks don't like using XML and would rather use Java code which led to the creation of Guice along with the Spring JavaConfig project. You can use either the XML or Java config approachs with Camel; its your choice really on which you prefer. NOTE: From Camel 2.2.0 camel-spring-javaconfig is moved to Spring 3.x, which means you can't run it with spring 2.x. Using Spring Java ConfigTo use Spring Java Config in your Camel project the easiest thing to do is add the following to your pom.xml <dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-spring-javaconfig</artifactId> <version>${camel-version}</version> </dependency>
Change Notification Preferences
View Online
|
View Changes
|
Add Comment
|