linagora / james-project

Mirror of Apache James Project
Apache License 2.0
70 stars 63 forks source link

Write test for JamesMailSpooler fix upon NoSuchMethodError #5146

Closed quantranhong1999 closed 3 months ago

quantranhong1999 commented 3 months ago

Bug: a custom mailet that depends on the old javax APIs caused java.lang.NoSuchMethodError:javax.mail.internet.MimeMessage org.apache.mailet.Mail.getMessage() that caused the RabbitMQ consumer being disconnected.

The fix is done. cf https://github.com/apache/james-project/pull/2159

But we should add a test for that.

quantranhong1999 commented 3 months ago

https://github.com/apache/james-project/pull/2159