Hello

how to use custom marshaler with the new FTP and File components?

I can see this but how I map this kind of config with a custom Marshaler on
a syntax point of view? does this work also for FTP?

<file:endpoint service="test:service" endpoint="endpoint"
directory="file:target/componentOutput">
  <file:marshaler>
    <sm:defaultFileMarshaler>
      <sm:fileName>
        <!-- lets use a header from the message -->
        <sm:xpathString xpath="concat($name, '.xml')"/>
      </sm:fileName>
    </sm:defaultFileMarshaler>
  </file:marshaler>
</file:endpoint>

Thank you!
-- 
View this message in context: 
http://www.nabble.com/FTP-Component-%283.1%29-and-Marshalers-tf2606860s12049.html#a7274395
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to