Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting BackOffSleeper #96

Open
mithunkm opened this issue Nov 3, 2014 · 0 comments
Open

Setting BackOffSleeper #96

mithunkm opened this issue Nov 3, 2014 · 0 comments

Comments

@mithunkm
Copy link

mithunkm commented Nov 3, 2014

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
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant