Affects Version/s: 5.0.4
spring integration 5.0.4
(was working with 1.2.30 + 4.* spring integration)
try to create integration flow config (several ways):
All those notations compiled but fail at run time while Spring Integration
cannot find method to use as Route.
If config is rewritten in Java - all working.
One thing is that Kotlins lambdas are not of synthetic class while Java's are,
so Spring Integration not sees them as lambdas.
At another hand it worked before and some DSL things as `transform` and some other still work with Kotlin lambdas.
It can be avoided with explicit method name :
While it's very ugly.
Does anyone knew solution except "apply" or shifting @Configuration with Sp Int to Java?