You are right. After removing <context:annotation-config/>", it works. My webapp loaded the wrong spring-context.xml.
Thanks, --- On Sat, 11/21/09, Christian Schneider <[email protected]> wrote: > From: Christian Schneider <[email protected]> > Subject: Re: CXF & Camel & Spring & ActiveMQ Integration Problems > To: [email protected] > Date: Saturday, November 21, 2009, 8:35 AM > Hmm, > > after looking closer at your context there was no > annotation config. But the stacktrace still seems to point > to the CommonAnnotationBeanPostProcessor. Are you sure the > context you posted is complete? > If yes it seems spring is configured in some other way to > interpret annotations. Are you using junit 4 tests > somewhere? > > Greetings > > Christian > > > Christian Schneider schrieb: > > Hi, > > > > this is probably a bug in camel cxf that I found > recently. > > > > https://issues.apache.org/activemq/browse/CAMEL-2112 > > > > I guess you are using > <context:annotation-config/> somewhere in your > application context. If you leave this out it should work. > The bug is fixed in current trunk in subversion already so > the next camel version should have this fix. If you need a > quick solution you can check out the camel source code and > apply the patch from the issue above by hand. So you can > make your own version that works. > > > > Greetings > > > > Christian > > > > > > -- > Christian Schneider > --- > http://www.liquid-reality.de > >
