GH-8703: Fix MessagingAnnotationPP for AOT
Fixes https://github.com/spring-projects/spring-integration/issues/8703 * Instantiate a `MessagingAnnotationBeanPostProcessor` via factory method from `MessagingAnnotationPostProcessor` avoiding extra code generation on an explicitly provided complex `Map` for bean definition property * Fix test to react properly to a new logic of `MessagingAnnotationBeanPostProcessor` bean registration
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2022 the original author or authors.
|
||||
* Copyright 2002-2023 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -835,7 +835,7 @@ public class TcpNioConnectionTests {
|
||||
assertThat(reading.await(10, TimeUnit.SECONDS)).isTrue();
|
||||
socket.close();
|
||||
cf.stop();
|
||||
assertThat(watch.getLastTaskTimeMillis()).isLessThan(950L);
|
||||
assertThat(watch.lastTaskInfo().getTimeMillis()).isLessThan(950L);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user