Questions tagged [spring-retry]

Spring Retry provides an abstraction around retrying failed operations, with an emphasis on declarative control of the process and policy-based behaviour that is easy to extend and customize.

The Spring Retry project is refactored from Spring Batch's support for retrying operations as of Spring Batch 2.2.0. It is used in several Spring projects.

See also

469 questions
-1
votes
1 answer

Spring retryTemplate fires too early if no maxDelay is set

I want my RetryTemplate to have a delay of 300000 ms - 5 minutes multiplied by 1.1 per try. However, it only delays the next attempt by 30 seconds. Here's a simplified example: @Service public class Foo { private static final Logger log =…
anon
-1
votes
1 answer

Retrying to send files by spring integration using ftp:outbound channel

I have a working spring batch job with two steps and I want to add a retry logic to ftp sending step. First step reads from database and outputs xml files The second step send this file to an ftp host using spring integration The second step is…
Serkan Arıkuşu
  • 5,549
  • 5
  • 33
  • 50
-2
votes
2 answers

How to pass parameter to java lambda

I am using Spring RetryTemplate and using this method. Wanted to pass some argument (vendor) it is giving me compilation error. I can create a another variable vendorName as final can send it. But I want to make use the the variable vendor. It…
Kiran
  • 839
  • 3
  • 15
  • 45
1 2 3
31
32