camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: Camel/Spring issue
Date Tue, 14 Aug 2007 18:56:33 GMT
BTW I've just committed a patch to trunk which I think should fix your
issue - I'll create an explicit test case to resolve CAMEL-103
tomorrow...

On 8/14/07, James Strachan <james.strachan@gmail.com> wrote:
> On 8/14/07, Punnoose, Roshan <punnooser@bah-systems.com> wrote:
> > When integrating Camel into my Spring app, I get this exception:
> > Caused by: java.lang.ClassCastException:
> > org.springframework.context.support.GenericApplicationContext
> >
> >             at
>
> Sorry about that!
>
> This looks like a bug in the SpringCamelContext; assuming that the
> ApplicationContext is-an AbstractRefreshableApplicationContext, so it
> can't handle GenericApplicationContext.
>
> I've raised a JIRA for this...
> https://issues.apache.org/activemq/browse/CAMEL-103
>
>
> I should have a fix in trunk very soon! A workaround is to use another
> ApplicationContext implementation (ClassPathXmlApplicationContext /
> FileXmlApplicationContext etc).
>
>
> > org.apache.camel.spring.SpringCamelContext.createInjector(SpringCamelCon
> > text.java:147)
>
> --
> James
> -------
> http://macstrac.blogspot.com/
>


-- 
James
-------
http://macstrac.blogspot.com/

Mime
View raw message