Skip to content

receiveNoWait() without prefetching #77

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

Merged
merged 5 commits into from
Aug 6, 2019

Conversation

robin-aws
Copy link
Collaborator

Addresses receiveNoWait() not returning any messages if prefetching is turned off.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@robin-aws robin-aws changed the title Receive no wait without prefetching receiveNoWait() without prefetching Jul 29, 2019
@troy-aws troy-aws merged commit 61c63b8 into master Aug 6, 2019
@SchulteDev
Copy link

Waited for the release.

@robin-aws
Copy link
Collaborator Author

I see what you did there. :) Released in 1.0.7

robin-aws added a commit that referenced this pull request Aug 7, 2019
As per #77,
closed consumers should only return null from concurrent in-flight
receive calls, not future ones, and returning null doesn't play nice
with SpringJMS. Checking in SQSMessageConsumer is more consistent than
in SQSMessageConsumerPrefetch, and easier to test to boot.
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

Successfully merging this pull request may close these issues.

3 participants