[ 
https://issues.apache.org/jira/browse/CAMEL-14066?focusedWorklogId=328384&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-328384
 ]

ASF GitHub Bot logged work on CAMEL-14066:
------------------------------------------

                Author: ASF GitHub Bot
            Created on: 15/Oct/19 07:42
            Start Date: 15/Oct/19 07:42
    Worklog Time Spent: 10m 
      Work Description: gnodet commented on pull request #3246: [CAMEL-14066] 
Split route parsing from the main CamelContext api
URL: https://github.com/apache/camel/pull/3246
 
 
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 328384)
    Time Spent: 20m  (was: 10m)

> Split route parsing from the main CamelContext api
> --------------------------------------------------
>
>                 Key: CAMEL-14066
>                 URL: https://issues.apache.org/jira/browse/CAMEL-14066
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core-api
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>            Priority: Major
>             Fix For: 3.0.0.RC3
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> In order to better separate all xml loading / parsing from the runtime, and 
> in preparation of CAMEL-14053, it would be interesting to remove the two 
> methods that accept an input stream and use JAXB underneath to load routes / 
> rests definitions.
> From a user point-of-view, the work around is quite simple and it's just a 
> matter of calling
>  
> {{RoutesDefinition routes = }}{{ModelHelper.loadRoutesDefinition(context, 
> inputStream);}}
>  
> {{context.getExtension(Model.class).addRoutesDefinitions(routes.getRoutes());}}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to