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(getClass().getClassLoader());
XStreamDataFormat xstreamDataFormat = new
XStreamDataFormat(xstream);
from("vm:repo").unmarshal(xstreamDataFormat)
.to("bean:supplyService?method=auto").marshal().xstream()
.to(ExchangePattern.InOnly, "vm:repoSupply");
}
}
Damien
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-XStream-works-with-Spring-but-not-with-Aries-tp5038674p5038803.html
Sent from the Camel - Users mailing list archive at Nabble.com.