[ https://issues.apache.org/jira/browse/CAMEL-10418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15615444#comment-15615444 ]
Fabrizio Spataro commented on CAMEL-10418: ------------------------------------------ Initially my code was in *removeRouteDefinition* method. But i am thinking this use cases: I deploy this cascade routes using method *removeRouteDefinitions* : ROUTE A -> ROUTE B -> ROUTE C If my error is into routeB i would remove all routes not only routeB!!!! > Deploy route with an error > -------------------------- > > Key: CAMEL-10418 > URL: https://issues.apache.org/jira/browse/CAMEL-10418 > Project: Camel > Issue Type: Bug > Components: camel-core > Reporter: Fabrizio Spataro > Assignee: Fabrizio Spataro > Priority: Minor > Fix For: 2.19.0 > > > When i create a route with an sintax error, it cannot be started but remains > into camelcontext. > An example to replicate it: > 1. Deploy a route with an know id at runtime (using route definition). The > route will be invalid (with an sintax error) > 2. Redeploy correct route with same id > Camel throw an example because i cannot deploy a route with same id!!! -- This message was sent by Atlassian JIRA (v6.3.4#6332)