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.