Since we're on a major migration process of this website, some component documents here are out of sync right now. In the meantime you may want to look at the early version of the new website
https://camel.apache.org/staging/
We would very much like to receive any feedback on the new site, please join the discussion on the Camel user mailing list.
ServicePoolAvailable as of Camel 2.0 Camel supports pluggable pools for services. At this time of write we have pools for:
The default producer service pool is The need for pooling Producer is only apparent in some Components in Camel to support thread safe producers and support concurrency. And using pooling we can improve performance as we do not have the overhead of creating, starting and stopping the Producer at each invocation. So where is it needed then? Well these components uses pooled producers: UsageBy default Camel uses a shared Pluggable producer poolingCamel supports using a 3rd part pool implementation. What is needed is to implement an adapter by implementing the Then set your custom pooling on the Developing pooleable producersThe producer service pool identify a producer as being pool capable if the producer implements the marker interface See Also |