Skip to main content Skip to complementary content

tSetProxy Standard properties

These properties are used to configure tSetProxy running in the Standard Job framework.

The Standard tSetProxy component belongs to the Internet family.

The component in this framework is available in all Talend products.

Information noteWarning: tSetProxy should not to be used in ESB cases because it has an impact across the whole ESB Runtime.

To set ESB Runtime HTTP(S) proxy, you only need to add the matching -Djvm parameters for proxyHost, proxyPort, proxyUser and proxyUsername for both http. and https. in the wrapper.conf file of Runtime and restart it. This also limits to only one HTTP proxy per ESB runtime.

Alternatively, you can set proxy at the Runtime level by adding proxy properties in the <Runtime-home>\etc\system.properties file, and then restart Runtime. For example:
http.proxyHost=proxyhttpcentral.monoprix.lan
http.proxyPort=8081
http.nonProxyHosts=localhost|.monoprix.lan|.local|127.0.0.1|10.0.0.0/8|172.16.0.0/12|192.168.0.0/16"

Basic settings

Use Java Virtual Machine Proxy Configuration

Select this option to use the following proxy configuration for all the network accesses from the JVM.

If this option is cleared, the proxy configuration is used only when the JVM accesses the URIs specified in URIs to use proxy.

This option is selected by default.

Proxy type

List of proxy protocols. Four options are available: Http Proxy, Https Proxy, Socks Proxy, and FTP Proxy.

Information noteNote: FTP Proxy is not available if Use Java Virtual Machine Proxy Configuration is cleared.
Proxy host Address of the proxy server.
Proxy port

Number of the proxy port.

Use authentication

Select this option if authentication is enabled on the Https proxy server.

Information noteNote: This option is available when Https Proxy is selected from Proxy type drop-down list.
Proxy user Username for proxy authentication.
Proxy password

Password for proxy authentication.

To enter the password, click the [...] button next to the password field, enter the password in double quotes in the pop-up dialog box, and click OK to save the settings.

URIs to use proxy Specify the URIs for which the proxy is used by providing the corresponding host names/host addresses and port numbers in the table.
Information noteNote:
  • This table is available if Use Java Virtual Machine Proxy Configuration is cleared.
  • For the Port column, a value of -1 specifies to use the proxy when the JVM accesses any ports of the host.
No Proxy for

The hosts which should be connected to directly and not through the proxy server. The value can be a list of hosts, each separated by a |, and in addition a wildcard character (*) can be used for matching, e.g. "192.168.0.* | localhost".

This option is available when you select HTTP Proxy or FTP Proxy from the Proxy type drop-down list.

Advanced settings

Thread isolated proxy Select this option to make the proxy available only to the thread that invokes the tSetProxy component.
tStatCatcher Statistics Select this check box to gather the Job processing metadata at a Job level as well as at each component level.
Enable Basic Authentication Header

Select this option to pass the username and password provided in the Basic settings view to a basic authentication-enabled https proxy server through the http authentication request header.

Because the authentication information may get revealed, select this option when the https proxy server is in a trusted environment.

This option is available when you select Https Proxy from the Proxy type drop-down list and select Use authentication in the Basic settings view.

Information noteWarning: Enabling this option will set the system property jdk.http.auth.tunneling.disabledSchemes to empty.

Global Variables

Global Variables

ERROR_MESSAGE: the error message generated by the component when an error occurs. This is an After variable and it returns a string. This variable functions only if the Die on error check box is cleared, if the component has this check box.

A Flow variable functions during the execution of a component while an After variable functions after the execution of the component.

To fill up a field or expression with a variable, press Ctrl+Space to access the variable list and choose the variable to use from it.

For more information about variables, see Using contexts and variables.

Usage

Usage rule

Typically used as a subJob by itself, tSetProxy is deployed along with other Internet components.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!