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
commit b47910bf00fedc274e6b7b9b10e07b22bf8ba03e Author: Claus Ibsen <[email protected]> AuthorDate: Fri Dec 15 14:56:44 2023 +0100 Fixed test after changes in camel-core tests --- .../resources/org/apache/camel/spring/processor/convertBody.xml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/convertBody.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/convertBody.xml index 63e5b74a35b..6adb11b9ebe 100644 --- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/convertBody.xml +++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/convertBody.xml @@ -25,7 +25,7 @@ "> <!-- START SNIPPET: example --> - <camelContext xmlns="http://camel.apache.org/schema/spring"> + <camelContext loadTypeConverters="true" xmlns="http://camel.apache.org/schema/spring"> <jmxAgent id="jmx" disabled="true"/> <route> @@ -64,6 +64,12 @@ <to uri="mock:result"/> </route> + <route> + <from uri="direct:loadedCustomConverter"/> + <convertBodyTo type="org.apache.camel.processor.converter.custom.MyBean"/> + <to uri="mock:result"/> + </route> + </camelContext> <!-- END SNIPPET: example --> </beans>
