gah.. damn HTML mails... sorry for that, I'm trying again:

my route looks like this:
VeytonProxy proxy = new VeytonProxy(
new URL("http://shop.example.com/index.php?page=soap_api_wsdl";));


JaxbDataFormat d = new JaxbDataFormat(); d.setDataFormatName("jaxb");
d.setContextPath("com.xt_commerce.types");
d.setPartClass("com.xt_commerce.types.Order");
d.setPartNamespace("{http://www.xt-commerce.com/types}order";);
d.setPrettyPrint(true);
from("timer://fetchOrderTimer?period=5000")
.setBody(simple("1"))
       .bean(proxy, "getOrderIds")
       .split(body(String[].class))
       .log("fetching order '${body}' from shop.")
       .bean(proxy, "getOrder")
       .setHeader("identifier",
simple("order-${body.orderId}-${body.customerId}"))
       .log("order '${body.orderId}' successfully loaded, customer:
${body.customerId}")
       .marshal(d)
       .to("file://c:/temp?fileName=${header[identifier]}.txt");

Using camel-jaxb instead of jaxb-* as dependency in both projects doesn't
help - as expected. Since I already used the versions of jaxb-* that were
defined as dependency of camel-jaxb.

This seems to be a problem of version 2.1.13 of jaxb-impl.

Thanks,
Daniel

-----
-- 
Daniel Geh
BIZOLUTION GmbH
Web: http://www.bizolution.de
--
View this message in context: 
http://camel.465427.n5.nabble.com/JAXB-classpath-issue-with-camel-jaxb-2-9-2-tp5678527p5686166.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to