You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "James Strachan (JIRA)" <ji...@apache.org> on 2008/11/28 14:14:05 UTC
[jira] Created: (CAMEL-1127) there seems some confusion &
inconsistency in the use of CamelContext.addRoute[s]() with the interfaces
Route / Routes / RouteBuilder
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
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.
[jira] Commented: (CAMEL-1127) there seems some confusion &
inconsistency in the use of CamelContext.addRoute[s]() with the interfaces
Route / Routes / RouteBuilder
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-1127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=52447#action_52447 ]
Claus Ibsen commented on CAMEL-1127:
------------------------------------
I think James have improved this already when he introduced the RouteService related to the camel-web project.
> 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.
[jira] Commented: (CAMEL-1127) there seems some confusion &
inconsistency in the use of CamelContext.addRoute[s]() with the interfaces
Route / Routes / RouteBuilder
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Assigned: (CAMEL-1127) there seems some confusion &
inconsistency in the use of CamelContext.addRoute[s]() with the interfaces
Route / Routes / RouteBuilder
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-1127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen reassigned CAMEL-1127:
----------------------------------
Assignee: Claus Ibsen
> 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.
[jira] Resolved: (CAMEL-1127) there seems some confusion &
inconsistency in the use of CamelContext.addRoute[s]() with the interfaces
Route / Routes / RouteBuilder
Posted by "Claus Ibsen (JIRA)" <ji...@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.
[jira] Commented: (CAMEL-1127) there seems some confusion &
inconsistency in the use of CamelContext.addRoute[s]() with the interfaces
Route / Routes / RouteBuilder
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-1127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=52449#action_52449 ]
Claus Ibsen commented on CAMEL-1127:
------------------------------------
{{org.apache.camel.Routes}} is a bad name. We gotta do a rename or remove as its basically a RouteBuilder when used in Camel.
> 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.
[jira] Commented: (CAMEL-1127) there seems some confusion &
inconsistency in the use of CamelContext.addRoute[s]() with the interfaces
Route / Routes / RouteBuilder
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-1127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=52446#action_52446 ]
Claus Ibsen commented on CAMEL-1127:
------------------------------------
{{SpringCamelContext}} have no additional route related methods.
> 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.