Announcement Announcement Module
Collapse
No announcement yet.
Fixed delay poller Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Fixed delay poller

    Hi,

    I have the following configuration in my application:

    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>
    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.

    Thanks,
    Shahar
Working...
X