I have this simple app that uses the camel mail binding. I have the mail binding poll a gmail account and if new emails are received they are consumed by my app. the mailbinding forwards the incoming mail to a service bean that has a very simple interface:
if I send an email to this mail address it is consumed correctly. However if I send an email to this mail address that has a content-type of text/plain, I do not receive any content in my consumer service. This is correct of course as the contenttype does not match mimemultipart. I've tried to add another method to the interface:
but this doesn't seem to work. Any idea how to fix this?