Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.18.5
-
None
-
Unknown
Description
The CxfRsProducer needs to find a converter to take the String body of an exchange message and turn it into an Object[]. However when camel-mail is present in the classpath the converter search method picks:
com.sun.mail.imap.SortTerm[] org.apache.camel.component.mail.MailConverters.toSortTerm(String msg)
This causes the CxfRsProducer to bomb on a NoSuchMethodException.
If camel-mail is removed, the CxfRsProducer client works, finding the right String -> Object[] converter.
Issue discussed here on Camel user mailing list