"move" does not work with SwitchYard File binding for Windows paths

Solution Verified - Updated -

Issue

  • In my SwitchYard project I have a composite service named "ExampleFileService" which has a File binding:

    <sca:service name="ExampleFileService" promote="ExampleComponent/ExampleService">
      ...
      <file:binding.file name="file1">
        ...
        <file:consume>
          <file:move>C:/temp/example/input/$simple{date:now:yyyy_MM_dd-HHmmss}-$simple{file:name}</file:move>
          ...
        </file:consume>
      </file:binding.file>
    </sca:service>
    
  • I configured the "move" folder but after processing the file does not move to the specified folder and name.

  • What can be the cause that the input file does not move to the "move" property location?

Environment

  • Red Hat JBoss Fuse Service Works (FSW)
    • 6.x
  • Red Hat JBoss Fuse (Fuse)
    • 6.2.x
  • Microsoft Windows 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.