🎄 Happy Holidays! 🥳

Most of Solace is closed December 24–January 1 so our employees can spend time with their families. We will re-open Thursday, January 2, 2024. Please expect slower response times during this period and open a support ticket for anything needing immediate assistance.

Happy Holidays!

Please note: most of Solace is closed December 25–January 2, and will re-open Tuesday, January 3, 2023.

Can we discard or reject message in solace streaming?

ajinkyasagar
ajinkyasagar Member Posts: 24
edited May 2022 in General Discussions #1

this is our declaration

spring:
  cloud: 
    function: 
      definition: inTechVal|inFuncVal|map|persist|report
    stream:
      function:
        bindings:
          inTechVal|inFuncVal|map|persist|report-in-0: input
          inTechVal|inFuncVal|map|persist|report-out-0: output




here solace streaming is sending message out to solace as per out mapping

e.g.  after executing all these function(inTechVal,inFuncVal,map,persist,report) it is putting on out queue  


Here i want to exit flow after persist function and message should not go to next function i.e report and message should get discarded and not go to another solace topic.