Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Formatted

...

Transport receiver parameters

Parameter Name

Description

Required

Possible Values

Default Value

port

The port on which this transport receiver should listen for incoming messages.

No

A positive integer less than 65535

8280

non-blocking

Setting this parameter to true is vital for reliable messaging and a number of other scenarios to work properly.

Yes

true or false

true

bind-address

The address of the interface to which the transport listener should bind.

No

A host name or an IP address

127.0.0.1

WSDLEPRPrefix

A URL prefix which will be added to all service EPRs and EPRs in WSDLs etc.

No

A URL of the form <protocol>://<hostname>:<port>/

 


httpGetProcessor

An extension point used to execute a special interceptor for HTTP GET requests.

Yes

An extension point

org.wso2.carbon.mediation.transport.handlers
.PassThroughNHttpGetProcessor

priorityConfigFile

The location of the file containing the configuration for priority based dispatching.

No

A file location

 

Transport sender parameters

Parameter Name

Description

Required

Possible Values

Default Value

non-blocking

Setting this parameter to true is vital for reliable messaging and a number of other scenarios to work properly.

Yestrue or falsetrue
warnOnHTTP500Logs warnings for HTTP 500 responses only for the specified content-types. For example,

<parameter name="warnOnHTTP500 locked="false">x-application/hessian|none</parameter> would log warnings for HTTP 500 responses of content-type 'x-application/hessian' or messages missing a content-type.

NoA list of content types separated by "|"
 

http.proxyHost

If the outgoing messages should be sent through an HTTP proxy server, use this parameter to specify the target proxy.

No

A host name or an IP address

 


http.proxyPort

The port through which the target proxy accepts HTTP traffic.

No

A positive integer less than 65535

 


http.nonProxyHosts

The list of hosts to which the HTTP traffic should be sent directly without going through the proxy.

Note

When trying to add multiple hostnames along with an asterisk in order to define a set of sub-domains for non-proxy hosts, you need to add a period before the asterisk when configuring proxy server.

".*.abc.my.com|localhost"

No

A list of host names or IP addresses separated by '|'

 


Connection throttling

With the HTTP PassThrough and HTTP NIO transports, you can enable connection throttling to restrict the number of simultaneous open connections. To enable connection throttling, edit the <PRODUCT_HOME>/repository/conf/nhttp.properties (for the HTTP NIO transport) or <PRODUCT_HOME>/repository/conf/passthru.properties (for the PassThrough transport) and add the following line: max_open_connections = 2

...