The UniquePath transform can be used (often at the tail of a Chain) to ensure that there are no path conflicts between files transformed.

Syntax Reference

type: UniquePath
strategy: <conflict resolution>
condition: <SpEL expression>


The following example concatenates the file that was originally named to the file

  - merge:
      - include: ['']
      - include: ['']
          - type: RewritePath
            rewriteTo: "''"
  - type: UniquePath
    strategy: Append

See Also

  • UniquePath uses a Conflict Resolution strategy to decide what to do when several input files use the same path.
  • Combo implicitly embeds a UniquePath after the Merge defined by its merge property.
check-circle-line exclamation-circle-line close-line
Scroll to top icon