Fixes https://github.com/spring-projects/spring-integration/issues/2770 Only create an evaluation context for header expressions if we actually have header expressions. * Some `AbstractMessageSource` refactoring to avoid unnecessary code and some optimization **Cherry-pick to 5.1.x**