|
35 | 35 | import org.springframework.aot.hint.SerializationHints;
|
36 | 36 | import org.springframework.aot.hint.TypeReference;
|
37 | 37 | import org.springframework.beans.factory.config.BeanExpressionContext;
|
| 38 | +import org.springframework.context.Lifecycle; |
38 | 39 | import org.springframework.context.SmartLifecycle;
|
39 | 40 | import org.springframework.integration.aggregator.MessageGroupProcessor;
|
40 | 41 | import org.springframework.integration.context.IntegrationContextUtils;
|
|
43 | 44 | import org.springframework.integration.core.GenericSelector;
|
44 | 45 | import org.springframework.integration.core.GenericTransformer;
|
45 | 46 | import org.springframework.integration.core.MessageSource;
|
46 |
| -import org.springframework.integration.core.Pausable; |
47 | 47 | import org.springframework.integration.dsl.IntegrationFlow;
|
48 | 48 | import org.springframework.integration.gateway.MethodArgsHolder;
|
49 | 49 | import org.springframework.integration.gateway.RequestReplyExchanger;
|
|
58 | 58 | import org.springframework.integration.store.MessageMetadata;
|
59 | 59 | import org.springframework.integration.support.MutableMessage;
|
60 | 60 | import org.springframework.integration.support.MutableMessageHeaders;
|
61 |
| -import org.springframework.integration.support.management.ManageableSmartLifecycle; |
62 | 61 | import org.springframework.messaging.MessageHandler;
|
63 | 62 | import org.springframework.messaging.MessageHeaders;
|
64 | 63 | import org.springframework.messaging.PollableChannel;
|
@@ -89,8 +88,7 @@ public void registerHints(RuntimeHints hints, ClassLoader classLoader) {
|
89 | 88 | MethodArgsHolder.class,
|
90 | 89 | AbstractReplyProducingMessageHandler.RequestHandler.class,
|
91 | 90 | ExpressionEvaluatingRoutingSlipRouteStrategy.RequestAndReply.class,
|
92 |
| - Pausable.class, |
93 |
| - ManageableSmartLifecycle.class) |
| 91 | + Lifecycle.class) |
94 | 92 | .forEach(type -> reflectionHints.registerType(type, MemberCategory.INVOKE_PUBLIC_METHODS));
|
95 | 93 |
|
96 | 94 | reflectionHints.registerType(JsonPathUtils.class,
|
|
0 commit comments