Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: sample code modified

...

Code Block
langxml
titleMarshalers
<file:endpointsender 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>
sender>

For all xbean file endpoint configuration take a look at Xml schemas