but it seems that there is a race condition which leads to the fact that
either 1st thread sends 2 equal messages or second thread sends 2 equal messages
to avoid this problem either
create MimeMessage mimeMsg per thread in SMTPAppenderBase
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
expected result
2 different message
subject=Message1
ERROR ? - Message1
subject=Message2
ERROR ? - Message2
but it seems that there is a race condition which leads to the fact that
either 1st thread sends 2 equal messages or second thread sends 2 equal messages
to avoid this problem either
create MimeMessage mimeMsg per thread in SMTPAppenderBase