cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Can snaplogic listen to external events

muniyappanmani
New Contributor

Hey, there can snaplogic listen to external events?

6 REPLIES 6

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!

You should ask this question in the section DevelopingSnaps