Many thanks James. It works.
<from uri="file:///c:/temp/test?delete=true"/>
<unmarshal>
<artixDS
elementTypeName="biz.c24.io.swift2007.MT502Element"/>
</unmarshal>
James.Strachan wrote:
>
> 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
>
>
--
View this message in context:
http://www.nabble.com/ArtixDS---Camel-Spring-%28error-%3A-source-must-be-specified%29-tp16959298s22882p16959833.html
Sent from the Camel - Users mailing list archive at Nabble.com.