July 30, 2023

tWaitForSocket – Docs for ESB 7.x

tWaitForSocket

Triggers a Job based on a defined condition.

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

tWaitForSocket Standard properties

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

The Standard
tWaitForSocket component belongs to the Orchestration family.

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

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.

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.

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.

Usage

Usage rule

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.

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
.

Related scenarios

No scenario is available for the Standard version of 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