Skip to content

Conversation

@davecramer
Copy link
Contributor

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

The key to routing in this example is Spring's standard `@Transactional` annotation with the `readOnly` parameter:

```java
@Retryable(value = { ShouldRetryTransactionException.class }, maxAttempts = 3)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably need to replace ShouldRetryTransactionException with FailoverSQLException

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