This documentation is for WSO2 Enterprise Integrator version 6.1.1 . View documentation for the latest release in the 6.x.x family and the latest release in the 7.x.x family.

All docs This doc

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.

A scheduled task in WSO2 Enterprise Integrator (WSO2 EI) allows you to run a piece of code triggered by a timer. The ESB profile of WSO2 EI provides a default scheduled task implementation, which you can use to inject a message to WSO2 EI at the ESB profile at a scheduled interval. To activate the built-in task, you have to add it to the Tasks list.


You can also write your own scheduled task by creating a custom Java class that implements the org.apache.synapse.startup.Task interface. This interface defines a single method named execute(). For example, you could create a task that will read a text file at a specified location and place orders for stocks that are given in the text file. For more information, see Writing Tasks.