Hi

In spring boot then properties works just like regular spring
properties. You can put them in application.properties and use them in
your Camel routes via {{keyName}}.
There is no need to do any special setup.

That link your point to about bridging that was the old days with
spring XML (not spring boot) and its <beans> XML files where you would
need to bridge in case you use spring xml property configuration and
want to use them in your Camel routes via {{xxx}}

You can see almost all of the camel spring boot examples uses properties
https://github.com/apache/camel-spring-boot-examples

On Thu, Dec 10, 2020 at 6:11 PM Jared Whiklo <jwhi...@gmail.com> wrote:
>
> Hi,
>
> I'm learning how to use Camel in a Spring Boot environment and have most
> everything working except properties.
>
> I was looking at the explanation for bridging the two here
>
> https://camel.apache.org/components/latest/properties-component.html#_bridging_spring_and_camel_property_placeholders
>
> It says:
>
>  > To bridge Spring and Camel you must define a single bean as shown below:
>
> but then doesn't actually have the example. Perhaps I misunderstood the
> text, but could someone give me an example of the required bean?
>
> cheers,
> jared
>
> --
> Jared Whiklo
> jwhi...@gmail.com
>
>


-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Reply via email to