2008/4/29 cmoulliard <[EMAIL PROTECTED]>:
>
>  Hi,
>
>  I have transposed the following code into a Camel-spring xml config file
>
>  from("file:///c:/temp/test?delete=true&delay=10000")
>  .unmarshal().artixDS(biz.c24.io.swift2007.MT502Element.class)
>
>  to
>
>               <route>
>               <from uri="file:///c:/temp/test?delete=true"/>
>               <unmarshal>
>                 <artixDS
>  elementType="biz.c24.io.swift2007.MT502Element.class"/>

I think this might work...

        <artixDS elementTypeName="biz.c24.io.swift2007.MT502Element"/>


FWIW there's an example of using ADS and Spring here...
https://projects.open.iona.com/projects/svn/iona/camel/trunk/components/camel-artixds/src/test/resources/org/apache/camel/artix/ds/spring/reformat.xml

I wonder if we can fix up the XSD so that it warns if you don't
specify elementTypeName
-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://open.iona.com

Reply via email to