This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new f2939135338 CAMEL-20837: minor api adjustments (#17285)
f2939135338 is described below
commit f293913533873f1a08e7a4555ebd769f3d467267
Author: Otavio Rodolfo Piske <[email protected]>
AuthorDate: Wed Feb 26 20:28:38 2025 +0100
CAMEL-20837: minor api adjustments (#17285)
* Fix a documentation typo
Signed-off-by: Otavio R. Piske <[email protected]>
* CAMEL-20837: allow providing a different supplier for creating the context
Signed-off-by: Otavio R. Piske <[email protected]>
---------
Signed-off-by: Otavio R. Piske <[email protected]>
---
.../java/org/apache/camel/test/junit5/CamelContextConfiguration.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/components/camel-test/camel-test-junit5/src/main/java/org/apache/camel/test/junit5/CamelContextConfiguration.java
b/components/camel-test/camel-test-junit5/src/main/java/org/apache/camel/test/junit5/CamelContextConfiguration.java
index eb9dd1be4a5..2f82c5cb9e8 100644
---
a/components/camel-test/camel-test-junit5/src/main/java/org/apache/camel/test/junit5/CamelContextConfiguration.java
+++
b/components/camel-test/camel-test-junit5/src/main/java/org/apache/camel/test/junit5/CamelContextConfiguration.java
@@ -262,7 +262,7 @@ public class CamelContextConfiguration {
*
* @param camelContextSupplier A supplier for the Camel context
*/
- protected CamelContextConfiguration withCamelContextSupplier(
+ public CamelContextConfiguration withCamelContextSupplier(
CamelContextSupplier camelContextSupplier) {
this.camelContextSupplier = camelContextSupplier;
return this;
@@ -344,7 +344,7 @@ public class CamelContextConfiguration {
}
/**
- * Set set a custom post-test processor
+ * Set a custom post-test processor
*
* @param postProcessor the post-test processor to use
*/