Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-11540

Unable to disable ProducerCache by setting cacheSize="-1"

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.19.1
    • Fix Version/s: 2.18.5, 2.19.2, 2.20.0
    • Component/s: camel-core
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      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)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                acosentino Andrea Cosentino
                Reporter:
                saravanakumar Saravanakumar Selvaraj
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: