camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: Create and add routes to context at runtime
Date Tue, 12 Aug 2014 12:51:08 GMT
ModelCamelContext model = (ModelCamelContext) camelContext;

eg you just type cast the camelContext instance if you want to avoid
those deprecation warnings.
You can also check the javadoc of those deprecated methods as they say
what to do

On Tue, Aug 12, 2014 at 2:07 PM, sakchakravarthi
<> wrote:
> Hi
> Thanks for your response.
> As I am new to this concept. Can you guide me how I can do that what you
> have mentioned in your earlier response. Which method I can use to get this
> ModelCamelContext.
> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

Claus Ibsen
Red Hat, Inc.
Twitter: davsclaus
Author of Camel in Action:

View raw message