Related to: https://github.com/spring-projects/spring-integration/issues/9430 **Auto-cherry-pick to `6.3.x` & `6.2.x`**