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 35BE9200C5F for ; Sun, 23 Apr 2017 16:14:34 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 3450A160BA6; Sun, 23 Apr 2017 14:14:34 +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 7A3B5160B8E for ; Sun, 23 Apr 2017 16:14:33 +0200 (CEST) Received: (qmail 98392 invoked by uid 500); 23 Apr 2017 14:14:32 -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 98379 invoked by uid 99); 23 Apr 2017 14:14:32 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 23 Apr 2017 14:14:32 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id C8A51180371 for ; Sun, 23 Apr 2017 14:14:31 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.379 X-Spam-Level: ** X-Spam-Status: No, score=2.379 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id YcXFlNWpmmnm for ; Sun, 23 Apr 2017 14:14:30 +0000 (UTC) Received: from mail-qk0-f181.google.com (mail-qk0-f181.google.com [209.85.220.181]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 233885F20C for ; Sun, 23 Apr 2017 14:14:30 +0000 (UTC) Received: by mail-qk0-f181.google.com with SMTP id h123so14808211qke.0 for ; Sun, 23 Apr 2017 07:14:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=C0zXWKJoQ44vvzaVkXigj0oaOYHmTjgrEMw5dn0oWwI=; b=q9x3q2OuB+lmmfxSHthYBKulh0lp4XjzlSADHP35Jb/sEC37nTu8vMK88w9+D1w2Ht DEbL6joY0QdmBFnLFdl23aaTCsU96JIWh2ngyVCHDl8mIH8XWqXzhow6a9/Fr5zyF++U zlgdP9cNuB7cF1icIVWVcmcIScWkj/KSV25chfO03xKQ0dCYtJyVluvT0ewwxurarYFS eCXvZbHH7h6uKo4pOW2H9UA9gy5OQOwOEXm6oMOiCgJO6znQYesnEn9jOAlHk3HMa1uV rxHqpFAwyJcpDbnd+7WHIwXAnX1syO2cGs0Ci+W6Ov9SMOTq5MFGlh1cGJsqctOZLfbf lbig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=C0zXWKJoQ44vvzaVkXigj0oaOYHmTjgrEMw5dn0oWwI=; b=kRmm9FFT9DqVnmAgfpvcvg5j0BIloqV35U8HJCJpEsoGQq2VCQaH1jPpdDqpurusqk riO8eNNvqns2a9+Jenb9tzGHO81ArtC9ra64qs+DEFFxsCnmqqe+rb73eUBvQfOoAJfd fVZvjT5ZKUTd/poBxrqlhLdTG1htJEaEYCFhS/oYHpp+EbZMXk5HMcpG6F3xfsHlhvcy OMCIVNbRTtrEn3P2NbWlbcLNGQHiAu3h2ll6W4+lRRvxCHezR/VTe+eRsXo1HB9ypmLx hhL05h9vseg+1R2809RmPnfl7GbqzoXcvrPyfGkmdcYnWx6uWELW/euulCwz+euSzZtM 1JGQ== X-Gm-Message-State: AN3rC/4hsKcvNOPN/zRWxvp6V6gU7Pqn+YL6pnyKqStIlj7rK29JJ2VH aJIMaX4xpQIW4epAdepXnTP6qKodS2sc X-Received: by 10.55.214.208 with SMTP id p77mr22844474qkl.121.1492956863613; Sun, 23 Apr 2017 07:14:23 -0700 (PDT) MIME-Version: 1.0 Received: by 10.12.185.165 with HTTP; Sun, 23 Apr 2017 07:14:23 -0700 (PDT) In-Reply-To: References: <8e5ea789-606e-05df-0557-7e5ce082e508@gmail.com> From: Jonathan Schoreels Date: Sun, 23 Apr 2017 16:14:23 +0200 Message-ID: Subject: Re: JdbcAggregationRepository doesn't preserve properties : Feature/Bug ? To: users@camel.apache.org Content-Type: multipart/alternative; boundary=001a1149d4f8854e80054dd61b96 archived-at: Sun, 23 Apr 2017 14:14:34 -0000 --001a1149d4f8854e80054dd61b96 Content-Type: text/plain; charset=UTF-8 (The pull request has been made : https://github.com/apache/camel/pull/1654) Jonathan 2017-04-23 16:13 GMT+02:00 Jonathan Schoreels : > Hi Claus, > > Thank you for the reminder, I had some other test with the repository and > found it another feature that seems to be normal : if the deadletter route > throws an exception, it will be send again to DLQ again, and again. I say > it's normal since a test seems to cover it : > JdbcAggregateRecoverDeadLetterChannelFailedTest. > > I however did not find if it's a behaviour that should be implemented in > ALL RecoverableAggregationRepository or only some of them. I've just > added javadoc for the JDBC's one, in doubt. > > Jonathan > > 2017-04-23 10:04 GMT+02:00 Claus Ibsen : > >> Hi Jonathan >> >> Did you get a chance to do this? Its good to help the project if users >> can get involved and provide fixes/improvments. And a small javadoc >> contribution is a great place to start. >> >> On Wed, Apr 12, 2017 at 1:34 PM, Jonathan Schoreels >> wrote: >> > Is it allowed to open pull request just to add java doc, or would you >> prefer >> > to do it yourself ? >> > >> > >> > On 2017-04-12 13:31, Claus Ibsen wrote: >> >> >> >> Yes only body + headers is stored that is by design >> >> >> >> On Wed, Apr 12, 2017 at 1:19 PM, Jonathan Schoreels >> >> wrote: >> >>> >> >>> Hello, >> >>> >> >>> I've been using JdbcAggregationRepository recently and discovered >> that it >> >>> won't save the property in the table and thus, losing them at each >> >>> aggregation step. >> >>> >> >>> I know property are meant to be inner-route variable, and headers >> >>> metadata >> >>> for protocol/outer-scope, and that by definition, a >> >>> JdbcAggregationRepository is an outer service. However, at the same >> time, >> >>> it's an abstraction inside the route, and it's still very unsetting to >> >>> have >> >>> property that dissapear in the same camel route. >> >>> >> >>> Do you see it as a Bug or a Feature ? >> >>> >> >>> PS : I'm still asking myself why there is no user guide to use >> >>> JdbcAggregationRepository in the book (Hawt example) or a >> "pretty-doc" in >> >>> http://camel.apache.org/aggregator.html. Or maybe there is other more >> >>> standard way to aggregate in a persistent repository that I don't know >> >>> yet ? >> >>> >> >>> Thank you, >> >>> >> >>> Jonathan Schoreels >> >> >> >> >> >> >> > >> >> >> >> -- >> Claus Ibsen >> ----------------- >> http://davsclaus.com @davsclaus >> Camel in Action 2: https://www.manning.com/ibsen2 >> > > --001a1149d4f8854e80054dd61b96--