問題文
A polling flow must remember the identifier of the last record it processed so that the next execution starts from there, even if the application is restarted in between. Which mechanism fits?
選択肢
- Write it into a Mule variable, which lives for the whole deployment.
- Write it into the payload at the end of the flow so that the next execution can read the payload left behind by the previous one, which works because the runtime keeps the final event of each flow execution until the flow is triggered again.
- Write it into a property file at runtime with a File Write operation.
- Write the identifier into an Object Store, because a store configured to be persistent keeps its contents across executions and across restarts of the application.