-
Notifications
You must be signed in to change notification settings - Fork 139
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(citrus-simulator): citrus-simulator compatibility
Compatibility fixes for the [citrusframework/citrus-simulator](https://github.com/citrusframework/citrus-simulator) project. These changes - mostly in `citrus-jms` and `citrus-mail` - will allow it to build on jdk17 and with the latest Spring- and Boot framework as well. Progress originally reported in PR: citrusframework/citrus-simulator#163 (comment).
- Loading branch information
1 parent
ce6c750
commit f16907b
Showing
17 changed files
with
406 additions
and
401 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
endpoints/citrus-mail/src/main/java/org/citrusframework/mail/client/MailSender.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package org.citrusframework.mail.client; | ||
|
||
import jakarta.mail.MessagingException; | ||
import jakarta.mail.Transport; | ||
import jakarta.mail.internet.MimeMessage; | ||
|
||
/** | ||
* This class exists mainly for testing purposes (mocking). | ||
*/ | ||
public class MailSender { | ||
|
||
public void send(MimeMessage mimeMessage) throws MessagingException { | ||
Transport.send(mimeMessage); | ||
} | ||
} |
Oops, something went wrong.