The RetryTemplate itself is configured in the Spring context, although it’s trivial to create in code.

The RetryTemplate itself is configured in the Spring context, although it’s trivial to create in code.
A. True
B. False
 
Answer: a
Explanation: I declare it in the Spring context only because there is some surface area for configuration when creating the object, and I try to let Spring handle the configuration.
 

Tìm kiếm

Back
Top