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 00387186C2 for ; Mon, 22 Feb 2016 10:42:18 +0000 (UTC) Received: (qmail 80972 invoked by uid 500); 22 Feb 2016 10:42:17 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 80918 invoked by uid 500); 22 Feb 2016 10:42:17 -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 80906 invoked by uid 99); 22 Feb 2016 10:42:16 -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; Mon, 22 Feb 2016 10:42:16 +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 5570E1A418B for ; Mon, 22 Feb 2016 10:42:16 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.511 X-Spam-Level: X-Spam-Status: No, score=0.511 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URI_HEX=1.313] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id XukkxTowfIqv for ; Mon, 22 Feb 2016 10:42:15 +0000 (UTC) Received: from mail-io0-f178.google.com (mail-io0-f178.google.com [209.85.223.178]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id 3453F5FAEC for ; Mon, 22 Feb 2016 10:42:15 +0000 (UTC) Received: by mail-io0-f178.google.com with SMTP id 9so173897160iom.1 for ; Mon, 22 Feb 2016 02:42:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=A7bC8xb2Lkwf6HbtHQT8LhgzMtbLxx4t48BtD4PAhac=; b=ObuZeN5umRt8CTPIMTl5R9w+7QsSkSPMuZ1i8LzQ3g2EAOQuESG6fkOjN0RKNZDRbs O5+ya6tDH/ID7ED4xERm3clGIRcDSsbilkABduCdyGfV1BkALskwvbI4D26DqzzVPL4P d3lROSEw+E5VWtUOGipHw5iDhrw3YY4a76sJO/Gjp8xnqjJzgWPELjol+NHbF31OBibA RTPI5foMGn5e9lWAyKRTcoRnZeGPkyEIfoxTT7dYiMWCCqK6FOUmyD0gkeNrlox2La6g dHuX2zc//ARo5CP/bdi9H91a/e9/mtAZDrAclcNLiPh2xM14DlYXi8chT0CNB60ICjEw sRBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=A7bC8xb2Lkwf6HbtHQT8LhgzMtbLxx4t48BtD4PAhac=; b=k6GCQDNNkVwv9k3RF/JQWDJSgltHymOf1rystwZ71cLRgQXfnoamy4cTzxlDDLiVm2 vzmEBnnlYW54oAaO5KqiYYYVvaaYFpJOZyGvKsigQPX82zsoMlt/Ir2Jbq0g37QGLBrV AR4Wx/+AmFhP7B++bMLt/RHYjheaOO5N9M9pdrMKPmkizdszoXTD++a6cSUnUFE544m6 lP3TWqAXIuqowu1rHvlOKwdd3mzgiVsURPX1OZ1ZS+56uQtgOUx+JZqA9pjuj1zczkA3 hFdT0jddTxeETHE+zKu1HcrTl17srHC+Jlod0NFGR5w+R1HicSPUHA1KpmZkpPf9FpK4 lwjA== X-Gm-Message-State: AG10YORr5pswLl5kJYeG5wE6xIrYO85GIQWsvtznN4Va+wlljgmpK8v4hQLDeFFZboHkvVwzGqMiAk5Wy+V2Nw== X-Received: by 10.107.159.7 with SMTP id i7mr25430205ioe.29.1456137734656; Mon, 22 Feb 2016 02:42:14 -0800 (PST) MIME-Version: 1.0 Received: by 10.79.0.211 with HTTP; Mon, 22 Feb 2016 02:41:55 -0800 (PST) In-Reply-To: <1456137407961-5778038.post@n5.nabble.com> References: <1456137407961-5778038.post@n5.nabble.com> From: Claus Ibsen Date: Mon, 22 Feb 2016 11:41:55 +0100 Message-ID: Subject: Re: LevelDB and Reset Option To: "users@camel.apache.org" Content-Type: text/plain; charset=UTF-8 You can delete the file On Mon, Feb 22, 2016 at 11:36 AM, Hubertus.Willuhn wrote: > Hi, > > i use LevelDBRepository for Aggregation. Is there an Option to clear/empty > the > repository files before executing my camel routes again? > > The Problem is that, if i run my app twice the repository tries to restore > all exchanges > from the last run...which isn't correct. > > My Initialization looks like: > > LevelDBAggregationRepository repository = new > LevelDBAggregationRepository("cen", "tmp/cache/leveldb.dat"); > > repository.setUseRecovery(false); > > Setting the above option doesn't help. My Log looks like: > > 2016-02-22 11:34:25.680 [main] WARN > o.a.c.c.leveldb.LevelDBAggregationRepository -- On startup there are 13659 > completed exchanges to be recovered in repository: cen-completed > > I do not want to reused old exchanges. > > Best regards, > > Hubertus > > > > -- > View this message in context: http://camel.465427.n5.nabble.com/LevelDB-and-Reset-Option-tp5778038.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2