You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix threading for FlowServiceTests.testGatewayExplicitReplyChannel
The `enrichHeaders()` operator is put already after an async `gateway()` in the `testGateway` flow definition.
This means that the action of the `enrichHeaders()` could be performed on the returning thread from gateway, or main.
* Move `enrichHeaders()` down to the `subFlow()` bean definition when all the operators are executed as part of
the gateway request from the `testGateway` flow definition.
Copy file name to clipboardExpand all lines: spring-integration-core/src/test/java/org/springframework/integration/dsl/flowservices/FlowServiceTests.java
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -156,16 +156,16 @@ public static class ContextConfiguration {
156
156
157
157
@Bean
158
158
publicIntegrationFlowtestGateway() {
159
-
returnf -> f.gateway("processChannel", g -> g.replyChannel("replyChannel").async(true))
0 commit comments