Hi,
I have the following configuration in my application:
Is it possible that 2 threads will try to simultaneously poll the RequestChannel? I had the impression that if an interval-trigger is not scheduled as fixed-rate then new pollers will wait until the current poller is finished.Code:<task:executor id="RequestExecutionPool" pool-size="5-20" queue-capacity="0" rejection-policy="CALLER_RUNS" /> <inbound-channel-adapter channel="RequestChannel" method="executeRequest" ref="ContentRequestHandler"> <poller task-executor="RequestExecutionPool" receive-timeout="20000"> <interval-trigger interval="500" initial-delay="5000" /> </poller> </inbound-channel-adapter>
Thanks,
Shahar


Reply With Quote