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

Reply via email to