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

CAMEL-12129: fix broken integration test from CAMEL-12111 #2169

Conversation

jisikoff
Copy link
Contributor

@jisikoff jisikoff commented Jan 7, 2018

Suspend calls closeConnectionAndChannel() which calls this.consumers.clear(); thus leaving no consumers to reconnect on resume. This used to work because the reconnect was creating consumers a second time with the startConsumers() call in StartConsumerCallable.call() but that was creating twice the required number of consumers in other normal use cases. In this case because clear is called we need to create those consumers again on resume hence the code changes here. All integration tests passing now.

@davsclaus davsclaus merged commit 03900cb into apache:master Jan 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants