Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5F22F1847C for ; Fri, 7 Aug 2015 08:17:47 +0000 (UTC) Received: (qmail 71182 invoked by uid 500); 7 Aug 2015 08:17:47 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 70293 invoked by uid 500); 7 Aug 2015 08:17:46 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 70154 invoked by uid 99); 7 Aug 2015 08:17:46 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Aug 2015 08:17:46 +0000 Date: Fri, 7 Aug 2015 08:17:46 +0000 (UTC) From: "Claus Ibsen (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CAMEL-9061) Java DSL - Allow to configure parallel processing and similar using a string configuration type MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Claus Ibsen created CAMEL-9061: ---------------------------------- Summary: 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 Fix For: Future 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)