We have an issue with the services we use in publish and wait. In our publish and wait model,
we publish a document with x sec wait time.
Client subscribe the document and based on the content of the document invokes another service.
Once the wait time is over the publishing service proceeds for the next step, but the client still executes as it waits to get the response from the service it invoked.
I’m wondering is there any mechanism to kill the client and its invoked service once the wait time is over. on the publishing service.