You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2015/08/07 15:55:45 UTC

[jira] [Resolved] (CAMEL-9061) Java DSL - Allow to configure parallel processing and similar using a string configuration type

     [ https://issues.apache.org/jira/browse/CAMEL-9061?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-9061.
--------------------------------
       Resolution: Fixed
         Assignee: Claus Ibsen
    Fix Version/s:     (was: Future)
                   2.16.0

There is a boolean parameter now for the parallel processing which is the most often used. For string type you can use  PropertyInject annotation to inject a boolean from a placeholder in the route builder class.

> Java DSL - Allow to configure parallel processing and similar using a string configuration type
> -----------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-9061
>                 URL: https://issues.apache.org/jira/browse/CAMEL-9061
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core, eip
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.16.0
>
>
> In XML DSL you can configure parallelProcessing="{{myConfig}}" to refer to a property placeholder.
> In Java DSL this is a bit harder as the DSL uses .parallelProcessing() to enable this. But to use a placeholder you would need to write a bit more java code to do this.
> We should allow to do in Java DSL, eg a boolean and String type, where the latter does the same as XML DSL to do a property placeholder.
> .parallelProcessing(true) 
> .parallelProcessing("{{myConfig}}") 
> See nabble
> http://camel.465427.n5.nabble.com/DSL-to-dynamically-enable-disable-parallelProcessing-tp5770389.html



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)