Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
In this section, we’ll walk through an example that shows how not to use beans with Camel—the hard way to use beans. Then we’ll look at how to use beans the easy way.
Suppose you have an existing bean that offers an operation (a service) you need to use in your integration application. For example, HelloBean offers the hello method as its service: