我正在使用 mule 3.2.1 并且有四个主要流程和一个子流程。在每个主要流程中,我都使用流程引用调用子流程。在子流中,当我调用四次子流时,将创建多少个实例?这种方法会出现任何性能问题或任何错误?请就这种方法向我提出建议。
四大流。
<flow name="DetailsFlow1" doc:name="DetailsFlow1">
<inbound-endpoint address="${fd.address}" exchange-pattern="request-response" doc:name="Generic Point"/>
<logger message="PAYLOAD #[payload]" level="INFO" doc:name="Logger"/>
<cxf:jaxws-service port="80" serviceClass="com.integration.IFixedDepositDetails" mtomEnabled="true" enableMuleSoapHeaders="false" doc:name="SOAP"/>
<choice doc:name="Choice">
<when expression="oprationService == 'fd-con'" evaluator="ognl">
<processor-chain>
<component class="com.integration.impl.FixedDepositDetailsImpl" doc:name="Java"/>
<flow-ref name="fdcasterflows1Flow1" doc:name="Flow Reference"/>
</processor-chain>
</when>
</choice>
</flow>
<flow name="DetailsFlow2" doc:name="DetailsFlow2">
<flow-ref name="fdcasterflows1Flow1" doc:name="Flow Reference"/>
</flow>
<flow name="DetailsFlow3" doc:name="DetailsFlow3">
<flow-ref name="fdcasterflows1Flow1" doc:name="Flow Reference"/>
</flow>
<flow name="DetailsFlow4" doc:name="DetailsFlow4">
<flow-ref name="fdcasterflows1Flow1" doc:name="Flow Reference"/>
</flow>
一个子流
<sub-flow name="fdcasterflows1Flow1" doc:name="fdcasterflows1Flow1">
<component class="com.GetDetails" doc:name="Java"/>
</sub-flow>