Re: Camel XStream works with Spring but not with Aries

2011-12-02 Thread dfontaine
Hi Ioannis ! I tried with Camel 2.7.3. The route works fine on 2.8.3 without XStream xstream = new XStream(); xstream.setClassLoader(getClass().getClassLoader()); XStreamDataFormat xstreamDataFormat = new XStreamDataFormat(xstream); Thanks a lot Damien -- View this message in context: http:/

Re: Camel XStream works with Spring but not with Aries

2011-12-02 Thread Ioannis Canellos
Hi Damien, which version of camel are you using? I created an blueprint integration test using camel 2.9 (using exaclty your use case) and it works fine. Can you please try with the current trunk? -- *Ioannis Canellos* * FuseSource ** Blog: http://iocanel.blogspot.com **

Re: Camel XStream works with Spring but not with Aries

2011-12-01 Thread dfontaine
Ok, i found a workaround but i don't know if the solution is clean. public class MySecondRoute extends RouteBuilder { @Override public void configure() throws Exception { XStream xstream = new XStream(); xstream.setClassLoader(getCl