Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Guice JMS example is functionally similar to both the first example and the Spring Example but using Guice as the Dependency Injection framework - it is also similar to the first example to show how to use the Guice approach to working with Camel.

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.

...