Hi again,

It seems that the binary marshaler is not used.

Could you try the following configuration:

<f:sender service="proj:file" endpoint="send"
        directory="file:C:/Outbox" autoCreateDirectory="true"/>
<f:poller service="proj:file" endpoint="poll"
        file="file:C:/Inbox" targetService="proj:file"
        targetEndpoint="send" period="60000" recursive="true"
        autoCreateDirectory="true">
        <f:marshaler>
                <bean 
class="org.apache.servicemix.components.util.BinaryFileMarshaler"/>
        </f:marshaler>
</f:poller>

Could you provide the whole stack trace too ?

Thanks
Regards
JB

pmilitzer wrote:
Hi, Here is the xbean.xml that I tried: <?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:/Outbox" 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:/Inbox" 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>



Jean-Baptiste Onofré wrote:
Hi Patrick,

could you paste the xbean.xml using the BinaryFileMarshaler ?

Regards
JB




--
Jean-Baptiste Onofré (Nanthrax)
BuildProcess/AutoDeploy Project Leader
http://buildprocess.sourceforge.net
j...@nanthrax.net
PGP : 17D4F086

Reply via email to