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, tools, and much more.