Versions Compared

Key

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

...

The downside of this is that your code is now dependent on a Camel API, the ProducerTemplate. The next section describes how to remove this

Tip

See POJO Consuming for how to use a property on the bean as endpoint configuration, eg using the property attribute on @Produce, @EndpointInject.

Hiding the Camel APIs from your code using @Produce

...