August 17, 2023

tSleep – Docs for ESB 5.x

tSleep

tSleep_icon32.png

tSleep Properties

Component family

Orchestration

 

Function

tSleep implements a time off in a
Job execution.

Purpose

Allows you to identify possible bottlenecks using a time break in
the Job for testing or tracking purpose. In production, it can be
used for any needed pause in the Job to feed input flow for
example.

Basic settings

Pause (in second)

Time in second the Job execution is stopped for.

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

Usage

tSleep component is generally
used as a middle component to make a break/pause in the Job, before
resuming the Job.

Connections

Outgoing links (from this component to another):

Row: Main; 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: Main; Reject; 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
.

Log4j

The activity of this component can be logged using the log4j feature. For more information on this feature, see Talend Studio User
Guide
.

For more information on the log4j logging levels, see the Apache documentation at http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/Level.html.

Limitation

n/a

Related scenarios

For use cases in relation with tSleep, see Scenario: Job execution in a loop.


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