Scheduling
Scheduling PHP
Last updated
Was this helpful?
Scheduling PHP
Last updated
Was this helpful?
Ecotone
comes with support for running period tasks
or cron jobs.
endpointId
- it's name which identifies process to run
poller
- Configuration how to execute this method .
Above configuration tells Ecotone
to execute this method every second.
After setting up Scheduled endpoint we can run the endpoint:
You can run Scheduled
for given Handler.
Right now method return which is send to given routing.
requestChannelName
- The channel name to which should be send.
When the Message will arrive on the Command Handler it will be automatically converted to ExchangeCommand.
If you want to understand how the conversion works, you may read about it in .
You may find demo implementation .