GitHub user srnm opened a pull request:

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

    add configurable activity task thread pool size

    camel-swf implements the activity consumer using GenericActivityWorker from 
the aws-java-sdk . 
    
    The component doesn't support a way to configure the thread pool size.
    By default, the aws-sdk's activity task thread pool is 100 threads -- which 
is way too high for cpu-intensive activities.
    
    This patch adds a property: SWFConfiguration.activityThreadPoolSize
    and retains the aws-sdk default of 100.
    
    http://camel.apache.org/aws-swf.html needs an update to document this new 
property.
    
    Please let me know if there is anything I can do to help this pull request 
along...


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

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

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

    https://github.com/apache/camel/pull/399.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 #399
    
----
commit 511e7a3624a1418f9e36817a572998e22623659c
Author: Steven Marcus <steven.mar...@gmail.com>
Date:   2015-02-18T09:06:31Z

    complete the support of user-supplied DataConverter

commit e96a30989eaa5e06efce07e61156aca4e0210933
Author: Steven Marcus <steven.mar...@gmail.com>
Date:   2015-02-18T11:34:36Z

    Merge remote-tracking branch 'upstream/master'

commit 8073ebabb8526f7cf6ca427224964469b47c94f0
Author: Steven Marcus <steven.mar...@gmail.com>
Date:   2015-02-18T21:00:23Z

    Merge branch 'master' of https://github.com/apache/camel

commit 267682a5a738fd9355bac69e468c910f217c232d
Author: Steven Marcus <steven.mar...@gmail.com>
Date:   2015-02-19T01:01:38Z

    Merge branch 'master' of https://github.com/apache/camel

commit 4a9a925e9f7a9530a33d8439c2543cc7d50dbb22
Author: Steven Marcus <steven.mar...@gmail.com>
Date:   2015-02-19T06:12:13Z

    make the SWFActivityConsumer's thread pool size configurable via 
SWFConfiguration.activityThreadPoolSize
    - the default activity thread pool size is 100, as per the aws-java-sdk

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to