我还有另一种情况,即独立进程中的流需要独立于任何计划流运行。流在启动时检查系统属性并执行任务,然后停止。但是,它无法启动,只是我在流程的开头添加了一个轮询器。它似乎被阻止启动,因为另一个流有一个入站石英调度程序。
<flow name="system-prop-flow">
<choice>
<when expression="#[System.getProprty("dingbert")!=empty]">
<flow-ref name=""/>
</when>
<otherwise>
..log something..
</otherwise>
</flow>
<!-- This seems to cause the top flow from running -->
<flow name="schedulededJob">
<quartz:inbound-endpoint responseTimeout="10000" doc:name="Task"
cronExpression="0 */2 * * * ?" jobName="mailJob" repeatInterval="0">
<quartz:event-generator-job/>
</quartz:inbound-endpoint>
<component.....
</flow>
是否可以让顶流不在石英调度程序中运行?