I am looking for some advice on how to implement process chaining, where one of the processes may fail, but we still want subsequent processes to execute. In my case, the subsequent process is a notification via HTTP to the requester, so it makes sense to run this even if the upstream process has failed.
Here is an example request from which I’m starting: https://github.com/aodn/geoserver-build/blob/master/src/extension/notifier/doc/chain_example.xml
So, w.r.t. this, I’d like to handle the situation where “gs:NetcdfOutput” fails and the “gs:Notifer” still executes.
What is the best way to go about this? It’d be nice if I could wrap any process in another, which handles failures (by catching exceptions) - thereby allowing the chain to continue.
Maybe this is already possible, hence the post to geoserver-users, but also happy to have pointers to any code modifications which will enable my use case.
Cheers
Jon