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
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Servicemix-3.3.1---Using-BinaryFileMarshaler-getting-error-Content-is-not-alowed-in-prolog-tp25226381p25227198.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to