This repository has been archived by the owner on Sep 6, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
retry change message visibility request on SdkClientException
- Loading branch information
Stephen Tobayiwa
authored and
Sebastian Martinka
committed
Aug 16, 2023
1 parent
f551476
commit 05823f9
Showing
5 changed files
with
100 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
src/main/java/com/mercateo/sqs/utils/visibility/RetryStrategy.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package com.mercateo.sqs.utils.visibility; | ||
|
||
import com.github.rholder.retry.StopStrategy; | ||
import com.github.rholder.retry.WaitStrategy; | ||
|
||
import lombok.NonNull; | ||
import lombok.Value; | ||
|
||
@Value | ||
public class RetryStrategy { | ||
|
||
@NonNull | ||
WaitStrategy retryWaitStrategy; | ||
|
||
@NonNull | ||
StopStrategy retryStopStrategy; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters