Guice JMS ExamplePage edited by Claus IbsenChanges (1)
Full ContentGuice JMS ExampleAvailable as of Camel 1.5 onwards The Guice JMS example is functionally similar to both the first example and the Spring Example but using Guice as the Dependency Injection framework. In this example we just write RouteBuilder implementations, then we write a Guice module MyModule to create the CamelContext, bind any RouteBuilder instances and configure any components and endpoints, then we create a jndi.properties file to bootstrap Guice and Camel. To run the example we currently use the maven exec plugin. For example from the source or binary distribution the following should work cd examples/camel-example-guice-jms mvn compile exec:java
Change Notification Preferences
View Online
|
View Changes
|
Add Comment
|
- [CONF] Apache Camel > Guice JMS Example confluence
- [CONF] Apache Camel > Guice JMS Example confluence
- [CONF] Apache Camel > Guice JMS Example confluence
- [CONF] Apache Camel > Guice JMS Example confluence
