Finish follow up extension's execution after one second
Hi,
I developed a follow up extension on the deliver action in order to call a web service. I need to do something like a "fire and forget" call. The follow up extension only triggers the call but does not wait for a response. Given that, how can I stop the extension's execution?
Is there a way to logout from the thread or something like that?
Regards,
Francisco R.
Accepted answer
You would have to call a non blocking call, or run a background job on a different thread. There is a Job API you could search for. I haven't used it, but it exists.