JIRA: https://jira.spring.io/browse/INT-4234 When the actual argument type is `Message` there is no reason to go down the `if...else` logic. This doesn't work for Lambda anyway because of generics erasure in case of `GenericTransformer`, but that is the fix for case of direct interface implementation