-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(#206): updated simulations and rest support
- Loading branch information
Showing
14 changed files
with
322 additions
and
397 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,20 +28,21 @@ public void run(ScenarioRunner scenario) { | |
scenario | ||
.receive() | ||
.payload("<mail-message xmlns=\"http://www.citrusframework.org/schema/mail/message\">" + | ||
"<from>[email protected]</from>" + | ||
"<to>[email protected]</to>" + | ||
"<cc></cc>" + | ||
"<bcc></bcc>" + | ||
"<subject>Hello</subject>" + | ||
"<body>" + | ||
"<contentType>text/plain; charset=utf-8</contentType>" + | ||
"<content>Say Hello!</content>" + | ||
"</body>" + | ||
"</mail-message>"); | ||
"<from>[email protected]</from>" + | ||
"<to>[email protected]</to>" + | ||
"<cc></cc>" + | ||
"<bcc></bcc>" + | ||
"<subject>Hello</subject>" + | ||
"<body>" + | ||
"<contentType>text/plain; charset=utf-8</contentType>" + | ||
"<content>Say Hello!</content>" + | ||
"</body>" + | ||
"</mail-message>"); | ||
|
||
scenario | ||
.send() | ||
.payload("<mail-response xmlns=\"http://www.citrusframework.org/schema/mail/message\">" + | ||
.payload( | ||
"<mail-response xmlns=\"http://www.citrusframework.org/schema/mail/message\">" + | ||
"<code>250</code>" + | ||
"<message>OK</message>" + | ||
"</mail-response>"); | ||
|
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 |
---|---|---|
|
@@ -115,20 +115,21 @@ public class HelloScenario extends AbstractSimulatorScenario { | |
scenario | ||
.receive() | ||
.payload("<mail-message xmlns=\"http://www.citrusframework.org/schema/mail/message\">" + | ||
"<from>[email protected]</from>" + | ||
"<to>[email protected]</to>" + | ||
"<cc></cc>" + | ||
"<bcc></bcc>" + | ||
"<subject>Hello</subject>" + | ||
"<body>" + | ||
"<contentType>text/plain; charset=utf-8</contentType>" + | ||
"<content>Say Hello!</content>" + | ||
"</body>" + | ||
"</mail-message>"); | ||
"<from>[email protected]</from>" + | ||
"<to>[email protected]</to>" + | ||
"<cc></cc>" + | ||
"<bcc></bcc>" + | ||
"<subject>Hello</subject>" + | ||
"<body>" + | ||
"<contentType>text/plain; charset=utf-8</contentType>" + | ||
"<content>Say Hello!</content>" + | ||
"</body>" + | ||
"</mail-message>"); | ||
scenario | ||
.send() | ||
.payload("<mail-response xmlns=\"http://www.citrusframework.org/schema/mail/message\">" + | ||
.payload( | ||
"<mail-response xmlns=\"http://www.citrusframework.org/schema/mail/message\">" + | ||
"<code>250</code>" + | ||
"<message>OK</message>" + | ||
"</mail-response>"); | ||
|
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
Oops, something went wrong.