
Originally Posted by
cormet
Hi all,
I am wondering if there is possibility for Spring Integration to do some kind of action which could be suspended/resume while depend on situation. For example: I had situation where I need to deliver a file from my local directory to a directory at the server side using FTP by processing a certain business processing rule like the one in example (Coffee Ordering).
However, there is a certain situation where i can't send the file to server if the server has flag me not to send, therefore I have to suspend the process. Do you think it is possible to do in Spring Integration?
You could implement a server-side file sucker that executes whenever the server is ready.
Of course the server could signal ready-state as long as you find an appropriate way of trensferring the ready message, however I have not seen a custom mechanism in Spring Intgration for this out-of-the-box, you'll have to implement it.
Sincerely,
/The Cantor
"Murphy was an optimist"
(The O'Toole commentary on Murphy's Law)