You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Dave Stanley (JIRA)" <ji...@apache.org> on 2009/10/16 02:31:52 UTC

[jira] Created: (CAMEL-2069) Enhancment to MulticastAnotherAggregatorTest to run a load test

Enhancment 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
         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.


[jira] Issue Comment Edited: (CAMEL-2069) Enhancement to MulticastAnotherAggregatorTest to run a load test

Posted by "Dave Stanley (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Assigned: (CAMEL-2069) Enhancement to MulticastAnotherAggregatorTest to run a load test

Posted by "Hadrian Zbarcea (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-2069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hadrian Zbarcea reassigned CAMEL-2069:
--------------------------------------

    Assignee: Hadrian Zbarcea

> 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
>         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.


[jira] Updated: (CAMEL-2069) Enhancement to MulticastAnotherAggregatorTest to run a load test

Posted by "Dave Stanley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-2069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dave Stanley updated CAMEL-2069:
--------------------------------

    Summary: Enhancement to MulticastAnotherAggregatorTest to run a load test  (was: Enhancment to MulticastAnotherAggregatorTest to run a load test)

> 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
>         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.


[jira] Resolved: (CAMEL-2069) Enhancement to MulticastAnotherAggregatorTest to run a load test

Posted by "Hadrian Zbarcea (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-2069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hadrian Zbarcea resolved CAMEL-2069.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.0

Patch applied with many thanks to 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.


[jira] Commented: (CAMEL-2069) Enhancement to MulticastAnotherAggregatorTest to run a load test

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-2069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=54787#action_54787 ] 

Claus Ibsen commented on CAMEL-2069:
------------------------------------

Its the JDK Executor that rejects executing the task, right?

What would be the typical reason? The queue is full?


> 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.


[jira] Updated: (CAMEL-2069) Enhancment to MulticastAnotherAggregatorTest to run a load test

Posted by "Dave Stanley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-2069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dave Stanley updated CAMEL-2069:
--------------------------------

    Attachment: aggregator_test_patch.txt

> Enhancment 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
>         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.


[jira] Commented: (CAMEL-2069) Enhancement to MulticastAnotherAggregatorTest to run a load test

Posted by "Dave Stanley (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-2069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=54792#action_54792 ] 

Dave Stanley commented on CAMEL-2069:
-------------------------------------

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.