Versions Compared

Key

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

...

Then set your custom pooling on the CamelContext with the setProducerServicePoll method.

Developing pooleable producers

The producer service pool identify a producer as being pool capable if the producer implements the marker interface org.apache.camel.SerivcePoolAware.
As the producer will be pooled and thus long lived, your producer should be able to automatic safely recover lost connection. Usually you implement logic that re connections if needed.

See Also