this the solution that i tried , it's extracted from the instruction about servicemix-file int the tutorial:
<?xml version="1.0"?> <beans xmlns:f="http://servicemix.apache.org/file/1.0" xmlns:proj="http://servicemix.apache.org/samples/filemover" xmlns:sm="http://servicemix.apache.org/config/1.0"> <f:sender service="proj:fileSender" endpoint="endpoint" directory="file:///c:/servicemix/sender" autoCreateDirectory="true"> <property name="marshaler"> <bean class="org.apache.servicemix.components.util.BinaryFileMarshaler" /> </property> </f:sender> <f:poller service="proj:filePoller" endpoint="poller" file="file:///c:/servicemix/poller" targetService="proj:fileSender" targetEndpoint="endpoint" period="60000" recursive="true" autoCreateDirectory="true"> <property name="marshaler"> <bean class="org.apache.servicemix.components.util.BinaryFileMarshaler" /> </property> </f:poller> </beans> -- View this message in context: http://servicemix.396122.n5.nabble.com/moving-files-tp2808055p2821580.html Sent from the ServiceMix - Dev mailing list archive at Nabble.com.
