.apache.org/why-does-camel-use-too-many-threads-with-producertemplate.html"> Why does Camel use too many threads with ProducerTemplate?
Important: Make sure to call {@link org.apache.camel.ProducerTemplate#stop()} when you are done using the template,to clean up any resources.
Will use cache size defined in Camel property with key {@link Exchange#MAXIMUM_CACHE_POOL_SIZE}. If no key was defined then it will fallback to a default size of 1000. You can also use the {@link org.apache.camel.ProducerTemplate#setMaximumCacheSize(int)} method to use a custom valuebefore starting the template.
@return the template
@throws RuntimeCamelException is thrown if error starting the template