O'Reilly logo

Mastering Apache Camel by Jean-Baptiste Onofré

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4. Beans

In the previous chapter, we saw one of the key, and very helpful, Camel components—the processor. However, a processor is tied to Camel as it extends the org.apache.camel.Processor interface.

This means that in order to reuse some existing beans in your application, you have to wrap it in a processor, meaning additional code to be maintained.

Fortunately, Camel has extensive support for POJO and beans, and bean model frameworks such as Spring or Blueprint.

In this chapter, we will see:

  • How Camel looks for beans in different registries and the different registry implementations
  • How Camel acts as a service activator to load the beans and bind the parameters
  • The Camel annotations that enables advanced binding
  • The Camel language annotations ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required