...
This sample introduces the concept of tasks/wiki/spaces/EI6xx/pages/49613531 and demonstrates how a simple trigger works. Here the MessageInjector
class is used, which injects a specified message to the ESB environment. You can write your own task class implementing the org.apache.synapse.startup.Task
interface and implement the execute
method to run the task.
...