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 361A610177 for ; Thu, 2 May 2013 05:26:10 +0000 (UTC) Received: (qmail 10972 invoked by uid 500); 2 May 2013 05:26:09 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 10932 invoked by uid 500); 2 May 2013 05:26:09 -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 10851 invoked by uid 99); 2 May 2013 05:26:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 May 2013 05:26:05 +0000 X-ASF-Spam-Status: No, hits=0.6 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of claus.ibsen@gmail.com designates 209.85.210.178 as permitted sender) Received: from [209.85.210.178] (HELO mail-ia0-f178.google.com) (209.85.210.178) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 May 2013 05:26:02 +0000 Received: by mail-ia0-f178.google.com with SMTP id t29so209961iag.9 for ; Wed, 01 May 2013 22:25:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=Sa807c4rFDPt8CerGTjd+j8IZxpbDsjUE+oq3marmlc=; b=NXxWzq8ZNfsnoP2w8TTY1Y3OrBmGe7m8QhdGZebdtfhacuim/79exoOwLH0X+M8NAI ZI22+Jq6+sf+fSK3bi8BwEMrJ2GhiGdWBEdqvPXWfr3A0p9RrMtN55FUh87xqBeHFizQ alATx9Ih66W+u5lCKBPdYiHijkWPjbBBv6LrpVwEhqvnhlslyDxm8Iph4CA5WbSHmLv1 /MubwSm4TPs1Yv1EKHgPYTaMjR32L1GYvDs+PNtc4UV/dHcQWNYXJJApYwNUISMoTSba VtByvOMD3mqHm8lF8NmSRIEjN59uXHrEKnS7/OkrZzGkoLsir2opLXpP2U5+jPzG6+c3 IZJQ== X-Received: by 10.50.114.228 with SMTP id jj4mr3194172igb.65.1367472341870; Wed, 01 May 2013 22:25:41 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.53.232 with HTTP; Wed, 1 May 2013 22:25:21 -0700 (PDT) In-Reply-To: <1367427359654-5731871.post@n5.nabble.com> References: <1367427359654-5731871.post@n5.nabble.com> From: Claus Ibsen Date: Thu, 2 May 2013 07:25:21 +0200 Message-ID: Subject: Re: Start and stop a route using sping xml To: "users@camel.apache.org" Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hi Camel 2.11 has a control bus component that allows you to send a stop message to a Camel endpoint. See details at: http://camel.apache.org/controlbus.html And is for stopping continue routing, eg if you have from X to Y choice when A to A otherwise stop end to X to Z Here we stop in the otherwise, so we won't continue routing, and go to X and Z etc. On Wed, May 1, 2013 at 6:55 PM, salemi wrote: > Hi, > > I know you can stop and start route using CamelContext. Is there a way to do > it in XML? > > I saw in the documentation but there not much desription? > > Is there something like ? > > Thanks, > Ali > > > > ----- > Alireza Salemi > -- > View this message in context: http://camel.465427.n5.nabble.com/Start-and-stop-a-route-using-sping-xml-tp5731871.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. FuseSource is now part of Red Hat Email: cibsen@redhat.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen