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"/>
</unmarshal>
<to uri="bean:converter?methodName=TransformMessage"/>
</route>
but I receive the following error during processing time:
java.lang.IllegalArgumentException: source must be specified
at org.apache.camel.util.ObjectHelper.notNull(ObjectHelper.java:135)
at
org.apache.camel.artix.ds.ArtixDSFormat.unmarshal(ArtixDSFormat.java:71)
at
org.apache.camel.processor.UnmarshalProcessor.process(UnmarshalProcessor.java:49)
Regards,
Charles
--
View this message in context:
http://www.nabble.com/ArtixDS---Camel-Spring-%28error-%3A-source-must-be-specified%29-tp16959298s22882p16959298.html
Sent from the Camel - Users mailing list archive at Nabble.com.