Setting BackOffSleeper
mithunkm opened this issue · comments
I am using nevado plugin in our Grails project to integrate with AWS SQS. Most of the features are working fine without trouble, Thanks for the plugin.
The calls to SQS happens very frequently, there is a need to reduce the frequency in which calls are made. Observed that there is something that does this job - BackOffSleeper - http://nevado.skyscreamer.org/apidocs/index.html?org/skyscreamer/nevado/jms/AsyncConsumerRunner.html
Tried to make it work by setting the "maxPollWaitMs" value to say "20000" [20sec]. It was done in spring configuration as shown below, but no luck so far to get it working. Help please!!!
jmsConnectionFactory(org.skyscreamer.nevado.jms.NevadoConnectionFactory) {
maxPollWaitMs = 2000
}