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 06B3DEB92 for ; Wed, 23 Jan 2013 21:30:04 +0000 (UTC) Received: (qmail 80465 invoked by uid 500); 23 Jan 2013 21:30:03 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 80391 invoked by uid 500); 23 Jan 2013 21:30:03 -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 80383 invoked by uid 99); 23 Jan 2013 21:30:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jan 2013 21:30:03 +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.214.173 as permitted sender) Received: from [209.85.214.173] (HELO mail-ob0-f173.google.com) (209.85.214.173) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jan 2013 21:29:57 +0000 Received: by mail-ob0-f173.google.com with SMTP id dn14so1662332obc.32 for ; Wed, 23 Jan 2013 13:29:36 -0800 (PST) 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=2y0YMUc5oIkR0gDf/gvXMYhDjIjcooRKdEZ/0GvSNZs=; b=GRBqWf4O8rKIEGtvCz4HrcGzG6Jm76xhIiB7yXLfflQfgUB9L38DtBHs6pOFHq1pmE E4X1Jr2Ul6Jx0sYqpPhvSgFmL5jdewwvHzwwKFGFBbRFzR5sGuAEUXu5PcR+qv+XyHfa N5xBi16IWHzHcCTtsNqHgvfwbJGyZ4jtUOf23yHyW8thY+RsS95jhlMAoczpY+HR6mF/ O5kbc15HqacdvBc3D3J60agW/BH24DB2HRDmIXbljraLlIiWiaGVxVM6PloMrZyNNA1p 7iMsWWkiQ9DrdDLrvEAP/b7cBn0VSyIB+6lobGipG2iLrBDomEFBcxiZIlUMp1pzNj59 iwrg== MIME-Version: 1.0 X-Received: by 10.182.162.66 with SMTP id xy2mr2169154obb.82.1358976576844; Wed, 23 Jan 2013 13:29:36 -0800 (PST) Received: by 10.182.114.103 with HTTP; Wed, 23 Jan 2013 13:29:36 -0800 (PST) In-Reply-To: References: Date: Wed, 23 Jan 2013 22:29:36 +0100 Message-ID: Subject: Re: [DISCUSS] - Moving towards Camel 2.11 release From: =?ISO-8859-1?Q?Christian_M=FCller?= To: dev@camel.apache.org Content-Type: multipart/alternative; boundary=e89a8f839dfb1ef4f704d3fb64db X-Virus-Checked: Checked by ClamAV on apache.org --e89a8f839dfb1ef4f704d3fb64db Content-Type: text/plain; charset=ISO-8859-1 Splitting the execute method of org.apache.camel.component.redis.CommandDispatcher doesn't make sense for me. I suggest to only relax the check style rule for this class. In general, 200 lines is a good limit in my opinion. Best, Christian On Wed, Jan 23, 2013 at 10:18 PM, Babak Vahdat wrote: > > > Am 23.01.13 16:16 schrieb "Claus Ibsen" unter : > > >On Wed, Jan 23, 2013 at 1:15 PM, Babak Vahdat > > wrote: > >> Hi > >> > >> Recently Bilgin did kindly integrate his camel-redis component @ GitHub > >>to > >> the Camel distribution, however I think currently we don't own any > >>proper > >> documentation for it when 2.11.0 goes live: > >> > >> http://camel.apache.org/components.html > >> > > > >Ah well spotted. Feel free to log a JIRA ticket about the missing docs. > > > > > >> It's also missing by the release notes as a new component: > >> > >> http://camel.apache.org/camel-2110-release.html > > > >Yeah maybe add a note to the doc JIRA about adding to release notes. > >And we may also need an karaf feature for it in features.xml. > > > >And osgi unit tests as well. > > Logged the following 2 tickets regarding this: > > > https://issues.apache.org/jira/browse/CAMEL-6001 > https://issues.apache.org/jira/browse/CAMEL-6002 > > > > > > > > > > >> > >> Currently it has got a CS violation where a method by > >>CommandDispatcher.java > >> is 303 lines long (maximum allowed is 200). We could either adjust the > >>code > >> or the CS rule for that. > >> > > > >And fell free to fix any CS issues you may encounter reported by the > >maven tooling. > > Actually yesterday I had already fixed all of the CS violations on the > trunk other than this one (on purpose) as I wanted to ask others about > their opinion before going for it: > > http://svn.apache.org/viewvc?view=revision&revision=1437208 > > As this one is different (302 lines of code in one method instead of the > maximally allowed 200). I propose to relax the checkstyle rule about this, > let's say 350 lines instead of 200. Then this would already fix this last > violation automatically. The other option would be to split that method > into 2 or 3 sub-methods but looking at the logic of that method IMHO this > wouldn't make much sense. > > Following is the checkstyle setting we've got for this: > > > > > > > > Babak > > > > > > >> Babak > >> > >> > >> > >> > >> -- > >> View this message in context: > >> > http://camel.465427.n5.nabble.com/DISCUSS-Moving-towards-Camel-2-11-relea > >>se-tp5725088p5726054.html > >> Sent from the Camel Development mailing list archive at Nabble.com. > > > > > > > >-- > >Claus Ibsen > >----------------- > >Red Hat, Inc. > >FuseSource is now part of Red Hat > >Email: cibsen@redhat.com > >Web: http://fusesource.com > >Twitter: davsclaus > >Blog: http://davsclaus.com > >Author of Camel in Action: http://www.manning.com/ibsen > > > -- --e89a8f839dfb1ef4f704d3fb64db--