Synapse
  1. Synapse
  2. SYNAPSE-938

[PTT] Http Proxy not working with PassThroughHttpSender

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0
    • Component/s: Transports
    • Labels:
      None

      Description

      In Nhttp transport we can define http proxy parameters as follows to send messages through a http proxy.

      <transportSender name="http" class="org.apache.synapse.transport.nhttp.HttpCoreNIOSender">
      <parameter name="non-blocking" locked="false">true</parameter>
      <parameter name="warnOnHTTP500" locked="false">*</parameter>
      <parameter name="http.proxyHost" locked="false">proxy.synapse.org</parameter>
      <parameter name="http.proxyPort" locked="false">3128</parameter>
      <parameter name="http.nonProxyHosts" locked="false">..foo.synapse.org|..bar.synapse.org</parameter>
      </transportSender>

      But in PassThroughHttpSender this configuration does not work.

      1. SYNAPSE-938.patch
        9 kB
        Isuru Udana Loku Narangoda

        Activity

        Hide
        Isuru Udana Loku Narangoda added a comment -

        Please find the fix to enable this functionality for Passthrough Transport from the attachment

        Show
        Isuru Udana Loku Narangoda added a comment - Please find the fix to enable this functionality for Passthrough Transport from the attachment
        Hide
        Hiranya Jayathilaka added a comment -

        Patch applied. Thanks Isuru for the contribution.

        Show
        Hiranya Jayathilaka added a comment - Patch applied. Thanks Isuru for the contribution.

          People

          • Assignee:
            Hiranya Jayathilaka
            Reporter:
            Isuru Udana Loku Narangoda
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development