Hi
You use value="#bean:myBeanId"
https://camel.apache.org/manual/property-binding.html
https://camel.apache.org/components/next/others/java-xml-io-dsl.html
On Wed, Feb 7, 2024 at 4:35 PM Franz Paul Forsthofer
wrote:
> Hello,
>
> in
> https://github.com/apache/camel/tree/main/dsl/camel-xml-io-dsl/src/test/resources/org/apache/camel/dsl/xml/io
> ,
> I found examples for the XML Io DSL. I did not see any example where a
> bean references another, something like the following
>
>
>
>
>
>
>
>
>
> Or where a bean reference an existing bean in the camel registry:
>
>
>
>
>
>
> Is this not possible with XML Io Dsl? Is this planned as future
> improvement?
>
> Im using Camel Main 4.3 with Spring Boot. However, I cannot use Spring
> beans XML because I want to dynamically add the Camel routes after the
> Spring Boot application was started.
>
> Regards Franz
>
--
Claus Ibsen
-
@davsclaus
Camel in Action 2: https://www.manning.com/ibsen2