-
1. Re: NoClassDefFoundErrors with AggregationStrategy and others
fribeiro_webmaster Jul 15, 2009 2:59 PM (in response to fribeiro_webmaster)After removing "<scope>provided</scope>" from my POM and including the service-camel dependency, as instructed, I got instead a LinkageError saying that both the SU class loader and the class loader for org.apache.camel.model.ProcessorType have different Class objects for the type org.apache.camel.processor.aggregate.AggregationStrategy.
-
2. Re: NoClassDefFoundErrors with AggregationStrategy and others
njiang Jul 15, 2009 10:02 PM (in response to fribeiro_webmaster)I'm confused, if you are using ServiceMix 4.1.0.1 , you'd better wrap your camel-context into the OSGi bundle instead of using SMX3's SU way.
Even SMX4 supports SMX3's service assembly, but you still have chance to get into the ClassLoader issue, so I suggest you take a look at the SMX4's camel example to try the new way.
-
3. Re: NoClassDefFoundErrors with AggregationStrategy and others
fribeiro_webmaster Jul 18, 2009 1:44 PM (in response to fribeiro_webmaster)I've migrated my Camel applications out of service-camel and got them to work as expected.
I didn't migrate my HTTP applications out of servicemix-http, though, and think we need a better replacement for its SOAP endpoints, CXF applications + camel-nmr, for example, is too much work.
Thanks for the help.