Commit 8ff3fbd
committed
Fix threading for
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.FlowServiceTests.testGatewayExplicitReplyChannel
1 parent 42b281b commit 8ff3fbd
1 file changed
Lines changed: 3 additions & 3 deletions
File tree
- spring-integration-core/src/test/java/org/springframework/integration/dsl/flowservices
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | | - | |
160 | | - | |
161 | | - | |
| 159 | + | |
162 | 160 | | |
163 | 161 | | |
164 | 162 | | |
165 | 163 | | |
166 | 164 | | |
167 | 165 | | |
168 | 166 | | |
| 167 | + | |
| 168 | + | |
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
| |||
0 commit comments