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

Add optional retry logic to topology recovery #388

Merged

Conversation

acogoluegnes
Copy link
Contributor

There's no topology recovery retry by default. The default
implementation is composable: not all have the recoverable entities have
to retry and the retry operations don't have to be only the
corresponding entity recovery, but also other operations, like
recovering the corresponding channel.

Fixes #387

There's no topology recovery retry by default. The default
implementation is composable: not all have the recoverable entities have
to retry and the retry operations don't have to be only the
corresponding entity recovery, but also other operations, like
recovering the corresponding channel.

Fixes #387
@acogoluegnes acogoluegnes changed the title DO NOT MERGE YET Add optional retry logic to topology recovery Add optional retry logic to topology recovery Aug 7, 2018
@michaelklishin
Copy link
Member

It's not worth rejecting the review over but: should we retry at least twice by default? Currently retryAttempts defaults to 1. With 2 it would be 3 attempts total (including the original one).

@michaelklishin michaelklishin merged commit 9034a61 into master Aug 9, 2018
@michaelklishin
Copy link
Member

I like how functional-ish (reusable and composable) the lambda-based approach turned out to be 👍

@michaelklishin michaelklishin deleted the rabbitmq-java-client-387-topology-recovery-retry branch August 9, 2018 23:32
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.

2 participants