Upgrade dependencies; prepare for release
Fix XML configs for new `Mockito.mock()` factory method
This commit is contained in:
@@ -56,8 +56,8 @@ import org.springframework.messaging.MessagingException;
|
||||
import org.springframework.messaging.support.ErrorMessage;
|
||||
import org.springframework.retry.RetryCallback;
|
||||
import org.springframework.retry.RetryContext;
|
||||
import org.springframework.retry.RetryListener;
|
||||
import org.springframework.retry.backoff.NoBackOffPolicy;
|
||||
import org.springframework.retry.listener.RetryListenerSupport;
|
||||
import org.springframework.retry.policy.SimpleRetryPolicy;
|
||||
import org.springframework.retry.support.RetryTemplate;
|
||||
|
||||
@@ -392,7 +392,7 @@ class InboundGatewayTests {
|
||||
retryTemplate.setRetryPolicy(retryPolicy);
|
||||
retryTemplate.setBackOffPolicy(new NoBackOffPolicy());
|
||||
final CountDownLatch retryCountLatch = new CountDownLatch(retryPolicy.getMaxAttempts());
|
||||
retryTemplate.registerListener(new RetryListener() {
|
||||
retryTemplate.registerListener(new RetryListenerSupport() {
|
||||
|
||||
@Override
|
||||
public <T, E extends Throwable> void onError(RetryContext context, RetryCallback<T, E> callback,
|
||||
|
||||
@@ -83,7 +83,7 @@ import org.springframework.messaging.PollableChannel;
|
||||
import org.springframework.messaging.support.ErrorMessage;
|
||||
import org.springframework.retry.RetryCallback;
|
||||
import org.springframework.retry.RetryContext;
|
||||
import org.springframework.retry.RetryListener;
|
||||
import org.springframework.retry.listener.RetryListenerSupport;
|
||||
import org.springframework.retry.policy.SimpleRetryPolicy;
|
||||
import org.springframework.retry.support.RetryTemplate;
|
||||
|
||||
@@ -310,7 +310,7 @@ class MessageDrivenAdapterTests {
|
||||
retryPolicy.setMaxAttempts(2);
|
||||
retryTemplate.setRetryPolicy(retryPolicy);
|
||||
final CountDownLatch retryCountLatch = new CountDownLatch(retryPolicy.getMaxAttempts());
|
||||
retryTemplate.registerListener(new RetryListener() {
|
||||
retryTemplate.registerListener(new RetryListenerSupport() {
|
||||
|
||||
@Override
|
||||
public <T, E extends Throwable> void onError(RetryContext context, RetryCallback<T, E> callback,
|
||||
|
||||
Reference in New Issue
Block a user