Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D9CDF10F3C for ; Wed, 7 Jan 2015 08:41:40 +0000 (UTC) Received: (qmail 63318 invoked by uid 500); 7 Jan 2015 08:41:41 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 63268 invoked by uid 500); 7 Jan 2015 08:41:41 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 63256 invoked by uid 99); 7 Jan 2015 08:41:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jan 2015 08:41:40 +0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of behradz@gmail.com does not designate 162.253.133.43 as permitted sender) Received: from [162.253.133.43] (HELO mwork.nabble.com) (162.253.133.43) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jan 2015 08:41:35 +0000 Received: from msam.nabble.com (unknown [162.253.133.85]) by mwork.nabble.com (Postfix) with ESMTP id A1A90FC0134 for ; Wed, 7 Jan 2015 00:41:14 -0800 (PST) Date: Wed, 7 Jan 2015 01:41:14 -0700 (MST) From: Behrad To: users@camel.apache.org Message-ID: <1420620074167-5761418.post@n5.nabble.com> Subject: Dealing with ProcessorDefinition MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org In my org.apache.camel.scala.dsl.builder.RouteBuilder when I write from ==> { idempotentConsumer(uuid) repository db choice { ... } } everything is OK, however when I want to write from ==> { if( idempotencyIsSet) { idempotentConsumer(uuid) repository db } choice { ... } } route is silently not started and not working... My problem is not to know how to properly use scala DSL:( -- View this message in context: http://camel.465427.n5.nabble.com/Dealing-with-ProcessorDefinition-tp5761418.html Sent from the Camel - Users mailing list archive at Nabble.com.