I have written a reactive webflux rest service with Spring Boot that returns XML. I would like the XML to be formatted, which you would do with 'marshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true);' if you did the marshalling yourself.
I have been searching the web for a way to set this property in Spring Boot or any other way to convince the marshaller that the XML should be formatted, but can't find a solution. Anybody have any idea?