camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: Cannot cast DefaultCamelContext to ModelCamelContext
Date Thu, 22 Jan 2015 12:22:08 GMT

Yeah such kind of errors can often be about mixed versions of a
library on the class path etc. So I would double check that you only
use same version of Camel.

If you use maven then check the pom.xml

On Thu, Jan 22, 2015 at 1:19 PM, geppo <> wrote:
> I am not type casting myself.
> The cast is inside the class CamelTestSupport:
> All I'm doing is overriding the createCamelContext, which I've done
> succesfully in the past:
> Do you know if the DefaultCamelContext in a previous version of Camel didn't
> implement the interface ModelCamelContext?
> Maybe Eclipse is picking up an older version from the Maven repository.
> --
> 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