Unable to disable ProducerCache

Solution Verified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content