1. Home
  2. ...
  3. Triggers
  4. t Timer

t Timer

Available triggers

The Timer component is used to generate message exchanges when a timer fires.

URI Syntax: timer:timerName

Main fields

Path parameters

Name
Description
Default
Type
timerName (consumer)(required) The timer name.—String

Query parameters

Name
Description
Default
Type
delay (consumer)The number of milliseconds to wait before the first event is generated. Should not be used together with the time option.1000long
period (consumer)Generates periodic events at each period. Must be a zero or positive value.1000long

Example

In the snippet below, the URI shows a timer named mytimer, which is triggered every 30 seconds (30,000 milliseconds).

Then, a message is logged.

How happy are you with this page?

We use cookies to enhance your experience on our site. By continuing to browse, you agree to our use of cookies.Learn more