Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 59080 invoked from network); 24 Jun 2009 16:09:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Jun 2009 16:09:48 -0000 Received: (qmail 20535 invoked by uid 500); 24 Jun 2009 16:09:59 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 20470 invoked by uid 500); 24 Jun 2009 16:09:59 -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 20460 invoked by uid 500); 24 Jun 2009 16:09:59 -0000 Delivered-To: apmail-activemq-camel-dev@activemq.apache.org Received: (qmail 20457 invoked by uid 99); 24 Jun 2009 16:09:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Jun 2009 16:09:59 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Jun 2009 16:09:56 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6589B234C04B for ; Wed, 24 Jun 2009 09:09:35 -0700 (PDT) Message-ID: <646677152.1245859775414.JavaMail.jira@brutus> Date: Wed, 24 Jun 2009 09:09:35 -0700 (PDT) From: "Claus Ibsen (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Resolved: (CAMEL-1127) there seems some confusion & inconsistency in the use of CamelContext.addRoute[s]() with the interfaces Route / Routes / RouteBuilder In-Reply-To: <923030094.1227878045405.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/CAMEL-1127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen resolved CAMEL-1127. -------------------------------- Resolution: Fixed trunk: 788067. The org.apache.camel.Routes interface have been renamed to org.apache.camel.RoutesBuilder and having a more precise and simpler interface. > there seems some confusion & inconsistency in the use of CamelContext.addRoute[s]() with the interfaces Route / Routes / RouteBuilder > ------------------------------------------------------------------------------------------------------------------------------------- > > Key: CAMEL-1127 > URL: https://issues.apache.org/activemq/browse/CAMEL-1127 > Project: Apache Camel > Issue Type: Improvement > Reporter: James Strachan > Assignee: Claus Ibsen > Fix For: 2.0.0 > > > I wonder if some of them need deprecating or renaming to avoid confusion. There are various methods on CamelContext / SpringCamelContext with the names [set|add]Route[s] which are a bit confusing/messy. > We should review all the methods and come up with a simpler solution -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.