---
title: t Timer
description: Available triggers
documentId: ipaas-timer-trigger
locale: en-US
---

The [**Timer**](https://camel.apache.org/components/4.8.x/timer-component.html) 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. | 1000  | long |
| `period` (consumer) | Generates periodic events at each period. Must be a zero or positive value. | 1000 | long |

## Example


<Steps>
<Step>
In the snippet below, the URI shows a timer named `mytimer`, which is triggered every 30 seconds (30,000 milliseconds).
</Step>
<Step>
Then, a message is logged.   
</Step>
</Steps>

- 
```yaml
- from:
  uri: "timer:mytimer"
  parameters:
    period: 30000
  steps:
    - log:
      message: "This is a test."
```

![](https://creative-ball-51b3fc85c0.media.strapiapp.com/timer_trigger_65dd79d834.png)
