...
The synapse_sample_300.xml
configuration adds a scheduled task to the ESB runtime . When so that when you start the ESB is started and initialized, this task will run periodically every 5 secondseconds. You can limit the number of times that you want the task to run by adding a count
attribute with an integer as the value
. If the count is not present as in this sample, the task will run forever.
...
You will see that the Axis2 server generates a quote every 5 seconds and that the ESB receives the stock quote response. This is because the injected message is sent to the sample Axis2 server, which sends back a response to the ESB.
...