[ 
https://issues.apache.org/jira/browse/CAMEL-11540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16084563#comment-16084563
 ] 

ASF GitHub Bot commented on CAMEL-11540:
----------------------------------------

GitHub user saravanakumar1987 opened a pull request:

    https://github.com/apache/camel/pull/1821

    CAMEL-11540: Fixed issue with turning off ProducerCache

    ConcurrentLinkedHashMap attempts to evict entries when the max capacity is 
zero, eventually the service is stopped. This results in camel-netty, 
camel-netty4, activemq and rabitmwq producers unable to disable ProducerCache.
    
    Thanks,
    Saravanakumar

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/saravanakumar1987/camel master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/camel/pull/1821.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1821
    
----
commit 34e416802f3e9b3707d0efacae558a55bf1f7b27
Author: Saravanakumar Selvaraj <[email protected]>
Date:   2017-07-12T19:34:53Z

    CAMEL-11540: Fixed issue with turning off ProducerCache

----


> Unable to disable ProducerCache
> -------------------------------
>
>                 Key: CAMEL-11540
>                 URL: https://issues.apache.org/jira/browse/CAMEL-11540
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.19.1
>            Reporter: Saravanakumar Selvaraj
>            Priority: Minor
>
> 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:
> {code}<wireTap uri="activemq:foo" cacheSize="-1" />{code}
> results in error :
> {code}java.util.concurrent.RejectedExecutionException
>     at 
> org.apache.camel.component.jms.JmsProducer.process(JmsProducer.java:144){code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to