camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Create and add routes to context at runtime
Date Tue, 12 Aug 2014 11:16:41 GMT
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
<ajit.kalyan.chakravarthi@gmail.com> 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: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Mime
View raw message