Uploaded image for project: 'ZZZ-WSO2 ESB'
  1. ZZZ-WSO2 ESB
  2. ESBJAVA-1362

[VFS Transport] - transport.vfs.Append=true does not append the response to the response file

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Highest
    • Resolution: Fixed
    • Affects Version/s: 4.5.0 M2
    • Fix Version/s: 4.5.0 M5
    • Component/s: Transport
    • Labels:
      None
    • Environment:
    • Severity:
      Blocker
    • Estimated Complexity:
      Moderate
    • Test cases added:
      Yes

      Description

      When the parameter transport.vfs.Append is set to true, the response does not get appended to the response file. As per the 'VFS Transport Implementation' you need to set only this parameter and I have set it as shown in below configuration. But the response file gets overwritten and the response does not get appended to the file.

      <proxy name="VfsToHttpProxy" transports="vfs" startOnLoad="true" trace="disable">
      <description/>
      <target>
      <endpoint>
      <address uri="http://localhost:9770/oracle/as/services/Axis2Service"/>
      </endpoint>
      <outSequence>
      <property name="OUT_ONLY" value="true" scope="default" type="STRING"/>
      <send>
      <endpoint>
      <address uri="vfs:file:///home/evanthika/WSO2/CARBON/CARBON4/ESB/transports/vfs/out"/>
      </endpoint>
      </send>
      </outSequence>
      </target>
      <publishWSDL uri="http://localhost:9770/oracle/as/services/Axis2Service?wsdl"/>
      <parameter name="transport.vfs.ReplyFileURI">file:///home/evanthika/WSO2/CARBON/CARBON4/ESB/transports/vfs/reply</parameter>
      <parameter name="transport.vfs.ActionAfterProcess">MOVE</parameter>
      <parameter name="transport.PollInterval">5</parameter>
      <parameter name="transport.vfs.MoveAfterProcess">file:///home/evanthika/WSO2/CARBON/CARBON4/ESB/transports/vfs/original</parameter>
      <parameter name="transport.vfs.FileURI">file:///home/evanthika/WSO2/CARBON/CARBON4/ESB/transports/vfs/in</parameter>
      <parameter name="transport.vfs.MoveAfterFailure">file:///home/evanthika/WSO2/CARBON/CARBON4/ESB/transports/vfs/error</parameter>
      <parameter name="transport.vfs.FileNamePattern">.*.xml</parameter>
      <parameter name="transport.vfs.Append">true</parameter>
      <parameter name="transport.vfs.ContentType">text/xml</parameter>
      <parameter name="transport.vfs.ActionAfterFailure">MOVE</parameter>
      <parameter name="transport.vfs.MoveTimestampFormat">EEE, d MMM yyyy HH:mm:ss Z</parameter>
      </proxy>

        Attachments

          Activity

            People

            • Assignee:
              charitham@wso2.com Charitha Madurangi
              Reporter:
              evanthika@wso2.com Evanthika Amarasiri
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: