Starting a mule flow programmatically using groovy

后端 未结 1 362
孤城傲影
孤城傲影 2020-12-20 01:12

I need to control the execution of a flow manually through a HTTP call.

I have been told I can disable the flow from executing during startup using the initial

相关标签:
1条回答
  • 2020-12-20 01:50

    This should do it:

    <scripting:component>
        <scripting:script engine="groovy">
            muleContext.registry.lookupFlowConstruct('targetFlow').start()
        </scripting:script>
    </scripting:component>
    
    0 讨论(0)
提交回复
热议问题