02-02-2020 11:00 PM
05-07-2021 07:23 AM
Hey Stewart, Thank you for the suggested approach. The Triggered Task definitely worked for me.
However for the custom snap that I am working on, its not working as expected. I tried the following:
I created/implemented a snap that outputs a binary where in the execute method I created a HttpServer with appropriate context & handler. The idea being - when this snap is used in a pipeline, it will stay alive as long as the the listener is required (similar to what the SAP IDoc Listener does - https://docs-snaplogic.atlassian.net/wiki/spaces/SD/pages/1438551/SAP+IDoc+Listener)
The issue is that the snap finishes execution within few seconds.
Any Idea how can I keep it alive? (until someone stops/suspends the pipeline)
Thanks!
05-11-2021 08:25 AM
You should ask this question in the section DevelopingSnaps