You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2024/03/18 10:43:49 UTC
(camel) 05/06: Camel 20567 make it possible to define restconfiguration in xml-io-dsl and xml-jaxb-dsl (#13488)
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch camel-4.4.x
in repository https://gitbox.apache.org/repos/asf/camel.git
commit 5f57e963c62730fc1e0a4fb32182b08343885201
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Mon Mar 18 11:41:02 2024 +0100
Camel 20567 make it possible to define restconfiguration in xml-io-dsl and xml-jaxb-dsl (#13488)
---
.../dsl/xml/jaxb/definition/LoadRestConfigurationFromXmlTest.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dsl/camel-xml-jaxb-dsl-test/definition/src/test/java/org/apache/camel/dsl/xml/jaxb/definition/LoadRestConfigurationFromXmlTest.java b/dsl/camel-xml-jaxb-dsl-test/definition/src/test/java/org/apache/camel/dsl/xml/jaxb/definition/LoadRestConfigurationFromXmlTest.java
index 36a281bc0e3..e11652a53f8 100644
--- a/dsl/camel-xml-jaxb-dsl-test/definition/src/test/java/org/apache/camel/dsl/xml/jaxb/definition/LoadRestConfigurationFromXmlTest.java
+++ b/dsl/camel-xml-jaxb-dsl-test/definition/src/test/java/org/apache/camel/dsl/xml/jaxb/definition/LoadRestConfigurationFromXmlTest.java
@@ -33,8 +33,8 @@ import static org.junit.jupiter.api.Assertions.assertNotNull;
public class LoadRestConfigurationFromXmlTest extends ContextTestSupport {
@Override
- protected Registry createCamelRegistry() throws Exception {
- Registry jndi = super.createCamelRegistry();
+ protected Registry createRegistry() throws Exception {
+ Registry jndi = super.createRegistry();
jndi.bind("dummy-rest", new DummyRestConsumerFactory());
jndi.bind("dummy-rest-api", new DummyRestProcessorFactory());
return jndi;