tSocketInput Standard properties
These properties are used to configure tSocketInput running in the Standard Job framework.
The Standard tSocketInput component belongs to the Internet family.
The component in this framework is available in all Talend products.
Basic settings
Host name |
Name or IP address of the Host server |
Port |
Listening port to open |
Timeout |
Number of seconds for the port to listen before closing. |
Uncompress |
Select this check box to unzip the data if relevant |
Die on error |
This check box is selected by default. Clear the check box to skip the row on error and complete the process for error-free rows. If needed, you can retrieve the rows on error via a Row > Rejects link. |
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 type and Edit Schema |
A schema is a row description, that is to say, it defines the number of fields to be processed and passed on to the next component. The schema is either Built-in or stored remotely in the Repository. Click Edit schema to make changes to the schema. If the current schema is of the Repository type, three options are available:
|
|
Built-in: The schema will be created and stored locally for this component only. For more information about a component schema in its Basic settings tab, see Basic settings tab. |
|
Repository: The schema already exists and is stored in the Repository, hence can be reused in various projects and Job flowcharts. For more information about a component schema in its Basic settings tab, see Basic settings tab. |
Encoding type |
Select the encoding from the list or select Custom and define it manually. This field is compulsory for DB data handling. |
Advanced settings
tStatCatcher Statistics |
Select this check box to gather the Job processing metadata at a Job level as well as at each component level. |
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. NB_LINE: the number of rows read by an input component or transferred to an output component. 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 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. |