This is an automated email from the ASF dual-hosted git repository.
orpiske 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 b0e03eddb86 CAMEL-19292: do create the registry for testing
b0e03eddb86 is described below
commit b0e03eddb8605bf10d2d4bac451b5e732c8a7364
Author: Otavio Rodolfo Piske <[email protected]>
AuthorDate: Tue Apr 25 15:26:12 2023 +0200
CAMEL-19292: do create the registry for testing
---
core/camel-core/src/test/java/org/apache/camel/ContextTestSupport.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/core/camel-core/src/test/java/org/apache/camel/ContextTestSupport.java
b/core/camel-core/src/test/java/org/apache/camel/ContextTestSupport.java
index 48da1aad119..4313f91a1e5 100644
--- a/core/camel-core/src/test/java/org/apache/camel/ContextTestSupport.java
+++ b/core/camel-core/src/test/java/org/apache/camel/ContextTestSupport.java
@@ -189,7 +189,7 @@ public abstract class ContextTestSupport extends
TestSupport {
}
protected CamelContext createCamelContext() throws Exception {
- CamelContext context = new DefaultCamelContext(true);
+ CamelContext context = new DefaultCamelContext(createRegistry());
if (!useJmx()) {
context.disableJMX();
}