Mule中的maxBufferSize =“-1”是什么意思?

时间:2018-12-10 01:25:28

标签: asynchronous mule mule-esb

我在现有代码中看到了此配置,我想知道maxBufferSize =“-1”是什么意思,因为我还没有看到Internet上的任何其他示例对该属性应用负值。谁能解释一下?

<asynchronous-processing-strategy name="AsynchronousProcessingStrategy" maxThreads="${MAX.PARALLEL.PROCESS}" minThreads="1" threadTTL="30000" poolExhaustedAction="WAIT" threadWaitTimeout="-1" maxBufferSize="-1" doc:name="Asynchronous Processing Strategy"/>

1 个答案:

答案 0 :(得分:0)

取自https://docs.mulesoft.com/mule-runtime/3.8/flow-processing-strategies

maxBufferSize确定当池达到最大容量且池耗尽操作为WAIT时,有多少个请求排队。缓冲区用作溢出。

-1将是无限数量的请求。