Replace logAndReply with log in Spring Integration flows

Proprietary

Spring Integration 6.0 deprecates logAndReply and removes it in 6.2, because log at the end of a flow now replies too. logAndReply returned an IntegrationFlow and log returns the builder, so a call on an IntegrationFlowBuilder also gets .get() appended.

io.moderne.java.spring.integration.MigrateLogAndReply
mod run . --recipe=io.moderne.java.spring.integration.MigrateLogAndReply

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.