Guillaume Nodet created CAMEL-14066:
---------------------------------------

             Summary: 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
            Reporter: Guillaume Nodet
            Assignee: Guillaume Nodet
             Fix For: 3.0.0.RC3


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

```

context.addRoutesDefinitions(ModelHelper.loadRoutesDefinition(context, 
inputStream).getRoutes());

```



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

Reply via email to