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 42C9462B7 for ; Tue, 28 Jun 2011 14:03:25 +0000 (UTC) Received: (qmail 56912 invoked by uid 500); 28 Jun 2011 14:03:24 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 56875 invoked by uid 500); 28 Jun 2011 14:03:24 -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 56865 invoked by uid 99); 28 Jun 2011 14:03:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Jun 2011 14:03:23 +0000 X-ASF-Spam-Status: No, hits=0.6 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of claus.ibsen@gmail.com designates 209.85.210.45 as permitted sender) Received: from [209.85.210.45] (HELO mail-pz0-f45.google.com) (209.85.210.45) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Jun 2011 14:03:18 +0000 Received: by pzk30 with SMTP id 30so162736pzk.32 for ; Tue, 28 Jun 2011 07:02:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=G6U+jLXEUcSzKsTdc9wBxLpV0D0TAQEp3+FMlE4oL1s=; b=RKF/zKpZIHDBeIUlsLzJoVAeUFVmsBDjSUtQg6FwdGBQ8Go3hIa0HmOHa29Dt8D3TJ 9I7L+wiJkAk8PSAglazSlpbP0usftKS5IkD+3ySF3I/J/JIfA/67CnyxCvY/3GQUjvuH U52JOugwqE7zwPa/PUvuanWsa2WgGtCS1DuJQ= Received: by 10.68.19.227 with SMTP id i3mr3815315pbe.303.1309269777118; Tue, 28 Jun 2011 07:02:57 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.62.10 with HTTP; Tue, 28 Jun 2011 07:02:37 -0700 (PDT) In-Reply-To: <1309269294731-4531857.post@n5.nabble.com> References: <1308927939375-4521292.post@n5.nabble.com> <1308944913110-4522087.post@n5.nabble.com> <1309269294731-4531857.post@n5.nabble.com> From: Claus Ibsen Date: Tue, 28 Jun 2011 16:02:37 +0200 Message-ID: Subject: Re: reload routebuilder at runtime To: users@camel.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org You would have to remove a route first before you can add it (=3D update) On Tue, Jun 28, 2011 at 3:54 PM, fachhoch wrote: > please tell me how to update =A0a route =A0using camel context I saw the = api it > has several =A0methods , you have an example on updating a route at runti= me , > my camel context is started by spring =A0 =A0and routes registered > > here is my configration > > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0xmlns=3D"http://camel.apache.org/schema/sp= ring"> > =A0 =A0 =A0 =A0gov.hhs.acf.camel > > > =A0 =A0 =A0 =A0 =A0 =A0 > =A0 > > > all the classes(Routebuilder) in the pacakge =A0gov.hhs.acf.camel are loa= ded > by camle context now at runtime I want =A0to update one routebuilder , pl= ease > tell me how , I did not see a method as update route , it has addroute, > stoproute =A0etc. > > -- > View this message in context: http://camel.465427.n5.nabble.com/reload-ro= utebuilder-at-runtime-tp4521292p4531857.html > Sent from the Camel - Users mailing list archive at Nabble.com. > --=20 Claus Ibsen ----------------- FuseSource Email: cibsen@fusesource.com Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/