Wrap GenericMessage map argument in MessageHeaders

Proprietary

Wraps the Map argument in GenericMessage constructors in Kotlin sources with MessageHeaders(map) to explicitly use the MessageHeaders overload. This resolves Kotlin overload resolution ambiguity between the Map and MessageHeaders constructor overloads.

io.moderne.java.spring.framework7.WrapGenericMessageMapInMessageHeaders
mod run . --recipe=io.moderne.java.spring.framework7.WrapGenericMessageMapInMessageHeaders

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