Hi

Don't worry about that deprecation. You can type cast to
ModelCamelContext to avoid it.
We should likely remove those @deprecations as they add more confusion
to end users than it justifies

On Tue, Aug 12, 2014 at 1:10 PM, sakchakravarthi
<[email protected]> wrote:
> Hi All
> I tried to load routes from xml. But in the link
> http://camel.apache.org/loading-routes-from-xml-files.html they used
> camelContext.loadRoutesDefinition(is) and
> camelContext.addRouteDefinitions(routes.getRoutes()) but both the methods
> are deprecated. Is there any other way to het the RouteDefinetion and add to
> camelContext.
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Create-and-add-routes-to-context-at-runtime-tp5754953p5755100.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: [email protected]
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Reply via email to