|
43 | 43 | import org.springframework.integration.core.GenericSelector; |
44 | 44 | import org.springframework.integration.core.GenericTransformer; |
45 | 45 | import org.springframework.integration.core.MessageSource; |
| 46 | +import org.springframework.integration.core.Pausable; |
46 | 47 | import org.springframework.integration.dsl.IntegrationFlow; |
47 | 48 | import org.springframework.integration.gateway.MethodArgsHolder; |
48 | 49 | import org.springframework.integration.gateway.RequestReplyExchanger; |
|
57 | 58 | import org.springframework.integration.store.MessageMetadata; |
58 | 59 | import org.springframework.integration.support.MutableMessage; |
59 | 60 | import org.springframework.integration.support.MutableMessageHeaders; |
| 61 | +import org.springframework.integration.support.management.ManageableSmartLifecycle; |
60 | 62 | import org.springframework.messaging.MessageHandler; |
61 | 63 | import org.springframework.messaging.MessageHeaders; |
62 | 64 | import org.springframework.messaging.PollableChannel; |
@@ -86,7 +88,9 @@ public void registerHints(RuntimeHints hints, ClassLoader classLoader) { |
86 | 88 | IntegrationProperties.class, |
87 | 89 | MethodArgsHolder.class, |
88 | 90 | AbstractReplyProducingMessageHandler.RequestHandler.class, |
89 | | - ExpressionEvaluatingRoutingSlipRouteStrategy.RequestAndReply.class) |
| 91 | + ExpressionEvaluatingRoutingSlipRouteStrategy.RequestAndReply.class, |
| 92 | + Pausable.class, |
| 93 | + ManageableSmartLifecycle.class) |
90 | 94 | .forEach(type -> reflectionHints.registerType(type, MemberCategory.INVOKE_PUBLIC_METHODS)); |
91 | 95 |
|
92 | 96 | reflectionHints.registerType(JsonPathUtils.class, |
|
0 commit comments