I tried to update our project to Spring Core 3.1.0 (from 3.0.6)
and Spring Integration 2.1.0 (from 2.0.5).
Some of our tests were broken now, because a
string of the payload seems not to be extracted any more using
Caused by: org.springframework.integration.MessageHandlingExc eption: Unable to create MailMessage from payload type [javax.xml.transform.dom.DOMSource], expected MimeMessage, MailMessage, byte array or String.
at org.springframework.integration.mail.MailSendingMe ssageHandler.convertMessageToMailMessage
Using Spring Core 3.1.0 with Spring Integration 2.0.5 still works.
Any help is highly appreciated.