August 17, 2023

tWaitForSocket – Docs for ESB 5.x

tWaitForSocket

tWaitForSocket_icon32_white.png

tWaitForSocket properties

Component
Family

Orchestration

 

Function

tWaitForSocket component makes a loop on a defined
port, to look for data, and triggers a subjob when the condition is
met.

Purpose

This component triggers a
Job based on a defined condition.

Basic
settings

Port

DB server listening port.

 

End of line separator

Enter the end of line separator to be
used..

 

Then

Select the action to be carried out:

keep on listening

or

close socket

 

Print client/server
data

Select this check box to display the client or
server data.

Advanced
settings

tStatCatcher
Statistics

Select this check box to collect the log data at a
component level.

Usage

This is an input, trigger
component for the subjob executed depending on the condition set.
Hence, it needs to be connected to a subjob via an Iterate
link.

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.

INPUT_DATA: the data transmitted by the client. This is a
Flow variable and it returns a string.

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 further information about variables, see Talend Studio
User Guide.

Connections

Outgoing links (from this component to another):

Row: Iterate.

Trigger: On Subjob Ok; On Subjob
Error; Run if; On Component Ok; On Component Error.

Incoming links (from one component to this one):

Row:Iterate.

Trigger: On Subjob Ok; On Subjob
Error; Run if; On Component Ok; On Component Error; Synchronize;
Parallelize.

For further information regarding connections, see
Talend Studio User
Guide
.

Limitation

n/a

Related scenario

No scenario is available for this component yet.


Document get from Talend https://help.talend.com
Thank you for watching.
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x