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

SimpleMessageListenerContainer: release consumer after its main loop #2741

Closed
artembilan opened this issue Jun 17, 2024 · 0 comments
Closed

Comments

@artembilan
Copy link
Member

Apparently the consumer might be in the cancelled state, so this.activeObjectCounter.release(this); in the BlockingQueueConsumer.nextMessage() is not reachable.

See more info here: #2593 (comment)

@artembilan artembilan added this to the 3.2.0-M1 milestone Jun 17, 2024
spring-builds pushed a commit that referenced this issue Jun 17, 2024
Fixes: #2741

Apparently the consumer might be in the cancelled state,
so `this.activeObjectCounter.release(this);` in the `BlockingQueueConsumer.nextMessage()` is not reachable.

(cherry picked from commit 52b68ba)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants