Uploaded image for project: 'Synapse'
  1. Synapse
  2. SYNAPSE-937

[PTT] Message not get built in response path when transport switching

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 3.0.0
    • Transports
    • None

    Description

      When using Passthough transport, When transport switching is happening in response path, message has to be built.

      For an example in the following sample configuration and an empty envelope get written to a file as message is not built when switching transports from http to vfs.

      <proxy name="StockQuoteProxy" xmlns="http://ws.apache.org/ns/synapse">
      <target>
      <endpoint>
      <address uri="http://localhost:9000/services/SimpleStockQuoteService"/>
      </endpoint>
      <outSequence>
      <property action="set" name="OUT_ONLY" value="true"/>
      <send>
      <endpoint>
      <address uri="vfs:file:///home/isuru/response"/>
      </endpoint>
      </send>
      </outSequence>
      </target>
      </proxy>

      Attachments

        1. patch_for_both_reqest_response_path.patch
          4 kB
          Isuru Udana
        2. SYNAPSE-937.patch
          3 kB
          Isuru Udana

        Activity

          People

            hiranya Hiranya Kasub Jayathilaka
            isudana Isuru Udana
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: