camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jurgends <jurgen.desw...@pearlchain.net>
Subject setting jaxb.noNamespaceSchemaLocation parameter
Date Wed, 03 Mar 2010 09:40:53 GMT

Hi,

I want to set the xsi:noNamespaceSchemaLocation="myxsd.xsd" when marshalling
an object in a camelroute, but can't seem to find out how.

When using a java marshaller you can use the
"jaxb.noNamespaceSchemaLocation"-parameter, but how is it done in a route?

It should be something like this, but this doesn't work:
<camel:marshal>
<camel:jaxb jaxb.noNamespaceSchemaLocation="myxsd.xsd"
contextPath="the.objectfactory.directory"/>
</camel:marshal>
-- 
View this message in context: http://old.nabble.com/setting-jaxb.noNamespaceSchemaLocation-parameter-tp27766068p27766068.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Mime
View raw message