Created
May 22, 2019 07:46
-
-
Save vmarcinko/0963246d4c995e896057a57288194e03 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
@Bean | |
public QueueConsumer smsSendingQueueConsumer(SmsSendingQueueConsumerModule smsSendingQueueConsumerModule, PlatformTransactionManager transactionManager) { | |
RetryPolicy retryPolicy = new LimitedRetryPolicy(3, new FixedDelayRetryPolicy(Duration.ofMinutes(1))); | |
return new QueueConsumer(smsSendingQueueConsumerModule, retryPolicy, transactionManager, 100, 10); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment