tSocketOutput
Sends out the data from the incoming flow to a listening socket port.
The tSocketOutput component writes data to a listening port.
tSocketOutput Standard properties
These properties are used to configure tSocketOutput running in the Standard Job framework.
The Standard tSocketOutput component belongs to the Internet family.
The component in this framework is available in all Talend products.
Basic settings
Properties | Description |
---|---|
Host name |
Name or IP address of the Host server |
Port |
Listening port to open |
Compress |
Select this check box to zip the data if relevant. |
Retry times |
Number of retries before the Job fails. |
Timeout |
Number of seconds for the port to listen before closing. |
Die on error |
Clear this check box to skip the row on error and complete the process for error-free rows. |
Field separator |
Character, string or regular expression to separate fields. |
Row separator |
String (ex: "\n"on Unix) to distinguish rows. |
Escape Char |
Character of the row to be escaped |
Text enclosure |
Character used to enclose text. |
Schema and Edit Schema |
|
Encoding |
Select the encoding from the list or select Custom and define it manually. This field is compulsory for DB data handling. |
Global Variables
Variables | Description |
---|---|
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. NB_LINE: the number of rows processed. This is an After variable and it returns an integer. 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 guidance | Description |
---|---|
Usage rule |
This component opens a point of access to a workstation or server. This component starts a Job and only stops after the time goes out. |
Limitation |
Due to license incompatibility, one or more JARs required to use this component are not provided. You can install the missing JARs for this particular component by clicking the Install button on the Component tab view. You can also find out and add all missing JARs easily on the Modules tab in the Integration perspective of Talend Studio. For details, see Installing external modules. |