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

Dave Stanley edited comment on CAMEL-2069 at 10/16/09 8:40 AM:
---------------------------------------------------------------

Yep its the JDK executor and the typical reason is the Queue is full. In the 
testcase I left the queue with a size of 10 to verify the handler will requeue 
the task and all tasks get handled eventually. Increasing the size of the queue 
would significantly reduce the probability of getting an exception.

Cheer's
/Dave



      was (Author: dave_stanley):
    Yep its the JDK executor and the typical reason is the Queue is full. In 
the testcase I left the queue with a size of 10 to verify the handler will 
requeue the message and all messages get delivered eventually. Increasing the 
size of the queue would significantly reduce the probability of getting an 
exception.

Cheer's
/Dave


  
> Enhancement to MulticastAnotherAggregatorTest to run a load test
> ----------------------------------------------------------------
>
>                 Key: CAMEL-2069
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2069
>             Project: Apache Camel
>          Issue Type: Test
>          Components: camel-core
>    Affects Versions: 2.0.0
>         Environment: trunk
>            Reporter: Dave Stanley
>            Assignee: Hadrian Zbarcea
>             Fix For: 2.1.0
>
>         Attachments: aggregator_test_patch.txt
>
>
> Attached is an update/patch to the MulticastAnotherAggregatorTest that tests 
> the multicast processor under load.
> Note: It adds a RejectedExecutionHandler and illustrates that you need to use 
> one to handle the case where you get RejectedExecutionExceptions. I am 
> wondering if the default executor should install one by default?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to