-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GH-8901: Add MockIntContext.substituteTriggerFor
Fixes: #8901 Provide a convenient API `MockIntegrationContext.substituteTriggerFor(String pollingAdapterId, Trigger trigger)` to mitigate the time span which might be provided in the original configuration * Add `MockIntegrationContext.substituteTriggerFor(String pollingAdapterId, Trigger trigger)` * Refactor `MockIntegrationContext` for Java 17 code style * Change `MockIntegrationContext.beans` to `MultiValueMap` since we may replace several properties of the same endpoint * Modify `MockMessageSourceTests.testMockMessageSource()` to use new `substituteTriggerFor()`, too * Add Javadoc for the `OnlyOnceTrigger` * Document the new feature and mention it with correlation to `OnlyOnceTrigger`
- Loading branch information
1 parent
c35982e
commit 1d73ab5
Showing
5 changed files
with
96 additions
and
50 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
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