You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2009/06/24 15:45:35 UTC

[jira] Commented: (CAMEL-1127) there seems some confusion & inconsistency in the use of CamelContext.addRoute[s]() with the interfaces Route / Routes / RouteBuilder

    [ https://issues.apache.org/activemq/browse/CAMEL-1127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=52445#action_52445 ] 

Claus Ibsen commented on CAMEL-1127:
------------------------------------

Using the interface {{CamelContext}} there are these methods related to routes:
- addRouteDefinitions
- addRoutes
- getRouteDefinitions
- getRoutes
- getRouteStatus
- removeRouteDefinitions
- startRoute
- stopRoute

Not to bad, where you will use the add methods to add more routes to this camel context.



> 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.