Unable to disable ProducerCache
Issue
It is not possible to disable ProducerCache for camel-rabbitmq, camel-netty4, camel-netty and camel-jms producers.
For example, while trying to turn off activemq ProducerCache like:
<wireTap uri="activemq:foo" cacheSize="-1" />
results in error :
java.util.concurrent.RejectedExecutionException
at org.apache.camel.component.jms.JmsProducer.process(JmsProducer.java:144)
Environment
- Red Hat JBoss Fuse
- 6.2.x
- 6.3.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
