"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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content