Reputation:
I have two flows in mule. I want to make one of them start , only after the other has been up and running for a while. how can I do that? Thanks
<flow name="newHttpClientRequestProcessor" doc:name="newHttpClientRequestProcessor">
<flow name="RestNewHttpClientRequestFlow" doc:name="RestNewHttpClientRequestFlow">
<http:inbound-endpoint exchange-pattern="one-way" host="localhost" port="8082" path="subscription" doc:name="HTTP"/>
<jersey:resources doc:name="REST">
<component class="com.citi.isg.rest.endpoints.RestNewHttpClientEndpoint"/>
</jersey:resources>
</flow>
Upvotes: 0
Views: 715
Reputation: 33413
This is similar to what I replied to this recent question: https://stackoverflow.com/a/14633484/387927
initialState="stopped"
app.registry.FLOWNAME.start();
, replacing FLOWNAME
with the name of the flow you want to start.Upvotes: 1