Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 3D781200C87 for ; Wed, 17 May 2017 12:18:41 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 3BE01160BBA; Wed, 17 May 2017 10:18:41 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 81EAD160BB5 for ; Wed, 17 May 2017 12:18:40 +0200 (CEST) Received: (qmail 87382 invoked by uid 500); 17 May 2017 10:18:39 -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 87370 invoked by uid 99); 17 May 2017 10:18:39 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 May 2017 10:18:39 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id A5E8B1A00D3 for ; Wed, 17 May 2017 10:18:38 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.002 X-Spam-Level: X-Spam-Status: No, score=-0.002 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id JEqBbpRQyAYu for ; Wed, 17 May 2017 10:18:37 +0000 (UTC) Received: from intern.ancud.de (intern.ancud.de [212.202.145.26]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 7B0FA5FDEE for ; Wed, 17 May 2017 10:18:36 +0000 (UTC) Received: from [192.168.178.35] (unknown [192.168.0.232]) by intern.ancud.de (Postfix) with ESMTP id 951411A0000A for ; Wed, 17 May 2017 12:18:29 +0200 (CEST) Received: from [192.168.178.35] ([88.217.0.70] helo=[192.168.178.35]) by ASSP.ancud.de with SMTPS(AES128-SHA) (2.2.1); 17 May 2017 12:18:27 +0200 Subject: Re: Re-intilaizing Camel route? To: users@camel.apache.org References: <1495001042843-5799670.post@n5.nabble.com> From: "Johannes F. Knauf" Organization: Ancud IT-Beratung GmbH Message-ID: <838cee7e-d08e-173c-17ce-318cd8775976@ancud.de> Date: Wed, 17 May 2017 12:18:28 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <1495001042843-5799670.post@n5.nabble.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Assp-Version: 2.2.1(12265) on ASSP.ancud.de X-Assp-Client-TLS: yes X-Assp-Server-TLS: yes X-Assp-ID: ASSP.ancud.de m1-16307-00508 archived-at: Wed, 17 May 2017 10:18:41 -0000 On 17.05.2017 08:04, Prasad k wrote: > > I need camel route, which is being initialized using configurations stored > in database, to re-initialize on every change in database configuration at > run time(without Re-starting server)? You might also want to have a look at using Camel routes packaged as OSGi bundles, at deployment in a Karaf runtime and at using Blueprint Property Placeholders + the reload update-strategy. Of course, this does not synchronise from a database, but from files. But this missing part can be easily delivered by an additional piece of code.