What is the difference between Pollers.fixedDelay(5000) and Pollers.fixedRate(5000)  in spring integrations Pollers? 
            Asked
            
        
        
            Active
            
        
            Viewed 2,960 times
        
    1
            
            
        
        Guru
        
- 2,739
 - 1
 - 25
 - 27
 
1 Answers
5
            
            
        There is a significant difference between fixed-rate and fixed-delay. With fixed-rate, it doesn’t matter how long the previous execution took, the next execution will happen when it was scheduled. With fixed-delay, the next execution will always happen x time after the previous finished, even if it was delayed.
        IMParasharG
        
- 1,869
 - 1
 - 15
 - 26
 
- 
                    3One small clarification; with `fixedRate`, the next poll will happen when it was scheduled or immediately, if the current poll task takes longer than that rate. In other words, there is only ever one poll in process at a time. – Gary Russell Mar 18 '19 at 13:06