2015-01-06 129 views
0

以下配置是否會導致mem泄漏或線程無法正常關閉?有這樣的配置是一個好主意嗎?彈簧集成調度程序線程

<int:bridge input-channel="channel1" output-channel="processingChannel"></int:bridge> 

<int:bridge input-channel="channel2" output-channel="processingChannel"></int:bridge> 

<int:bridge input-channel="channel3" output-channel="processingChannel"></int:bridge> 

<int:bridge input-channel="channel4" output-channel="processingChannel"></int:bridge> 

<int:channel id="processingChannel">  
<int:dispatcher task-executor="executor"/> 
</int:channel> 

回答

0

有從框架內沒有已知的問題,這樣的配置。最好的辦法是用jstack進行線程轉儲,找出你的線程正在做什麼。

+0

Zak

+0

好的謝謝。我不確定你能看到我發佈的完整配置 – Zak

+0

<任務:執行ID =「execu tor「pool-size =」10-20「queue-capacity =」25「reject-policy =」CALLER_RUNS「/> – Zak