Return-Path: X-Original-To: apmail-camel-dev-archive@www.apache.org Delivered-To: apmail-camel-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6AD57F4EE for ; Wed, 27 Mar 2013 11:27:34 +0000 (UTC) Received: (qmail 22042 invoked by uid 500); 27 Mar 2013 11:27:34 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 21890 invoked by uid 500); 27 Mar 2013 11:27:33 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 21825 invoked by uid 99); 27 Mar 2013 11:27:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Mar 2013 11:27:32 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of christian.mueller@gmail.com designates 209.85.219.50 as permitted sender) Received: from [209.85.219.50] (HELO mail-oa0-f50.google.com) (209.85.219.50) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Mar 2013 11:27:26 +0000 Received: by mail-oa0-f50.google.com with SMTP id n1so5896732oag.9 for ; Wed, 27 Mar 2013 04:27:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=WvUAiuPsrgjL6c1heobmAhALqd8bEOxlFdOQeMI8oLU=; b=gM1QrHfVJ81NxYZ3VNds1JL9hZZ0l1XAnUu8vsPF7aczHbtThxKiLxf3vhC9LfmVHk JhqZwr8ptEZgbd3iD5YV36NHoKYhh0/5ApXm2qi2ZyLkHzpCRw9gw9Cv8OhQb9THnVNh 9+izNDcRMlqzEPzac9K5mpHCmBGMA8ezJUzykDTwPbMYbYOco4qdZhNxDMNCs1XDPAwO Fs/8GEZh5yIXn+9QcRSZzWjEpfR/e6ouTrxMXnDtsNDsLFX7mNpyAqLB+P/4SkuDCLHW osjjdv3y+3xYprlXE8aBoaSr3k+GeEAG8aPtTM5IfpZm7GSOZsC9hBuNRTfftPlfT6Cy focA== MIME-Version: 1.0 X-Received: by 10.182.157.104 with SMTP id wl8mr3710744obb.79.1364383625026; Wed, 27 Mar 2013 04:27:05 -0700 (PDT) Received: by 10.182.117.103 with HTTP; Wed, 27 Mar 2013 04:27:04 -0700 (PDT) In-Reply-To: <1364178381645-5729737.post@n5.nabble.com> References: <1364178381645-5729737.post@n5.nabble.com> Date: Wed, 27 Mar 2013 12:27:04 +0100 Message-ID: Subject: Re: [DISCUSS] another camel 3.0 ideas From: =?ISO-8859-1?Q?Christian_M=FCller?= To: dev@camel.apache.org Content-Type: multipart/alternative; boundary=f46d044281a04ea30804d8e651b1 X-Virus-Checked: Checked by ClamAV on apache.org --f46d044281a04ea30804d8e651b1 Content-Type: text/plain; charset=ISO-8859-1 Hello Koseki! Hope you are well. And thanks for participating in this discussion! Regarding 1) This is already on the road map for Camel 2.x / 3.x. As you told me in Portland, we have to check whether we can improve how we handle batch submission (If we have a batch with 100 individual messages, we should only issue one commit at the end instead of 100 commits.). Regarding 2) I think one part of your idea is already addressed with the topic "Schedule in DSL" at [1]. I don't think (I don't know how) we can handle component specific errors in or onException() definition. Let's assume you poll a JMS queue and you cannot access the queue (for whatever reason). It doesn't make sense for me to create an empty exchange with the exception attached which is send to the next processor or the onException() definition if it exists. We should eager check (if possible) whether the provided configuration works or not. Regarding 3) Interesting idea. I think it's useful. I will add it to our Camel 3.0 idea page [2]. We will see whether we can find enough supporter and a champion for it. [1] http://camel.apache.org/camel-30-ideas.html#Camel3.0-Ideas-ScheduleinDSL [2] http://camel.apache.org/camel-30-ideas.html Best, Christian On Mon, Mar 25, 2013 at 3:26 AM, koseki nonuyuki wrote: > Hi > > I have some ideas I want to see in Camel 3.0 > > 1)Batched Transaction > As discussed in [1], I'm glad to see this feature in Camel 3.0 or 2.X, if > possible. > When we have to deal with a huge number of data without losing any data, > batched transaction mechanism or similar feature is required. > > 2)Introduce 'Timer + Consumer' instead of PollingConsumer > When we define a route that contains pollingConsumer, such as File > consumer, > we have to define two exception logic, one is onException and the other is > component specific error handling. > > How about the idea that we divide pollingConsumer into two part, timer part > and consumer part. > > If the timer component instantiate the Exchange periodically, then next > consumer can handle errors by onException logic, that means we can handle > all errors by onException logic, not using component specific error > handling. > > 3)Print route information when error occured > Like printStackTrace() in Java, Camel can print routeTrace(), that make us > much easier to trace route when we encounter exception. > > > [1] > > http://camel.465427.n5.nabble.com/SJMS-and-batched-transactions-td5716910.html > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/DISCUSS-another-camel-3-0-ideas-tp5729737.html > Sent from the Camel Development mailing list archive at Nabble.com. > --f46d044281a04ea30804d8e651b1--