Hi

The template parameters are intended as text based placeholders,eg for
string, numbers, booleans, etc.
If you need to pass in objects, then it should be as reference to
objects to use in the registry via their bean id.


On Tue, Jan 26, 2021 at 9:20 PM Jörg Jansen <jansen...@gmail.com> wrote:
>
> Hi all,
>
> I’ve a Question About the usage of Route templates (Camel-3.7.0).
> As far as I see, it is possible to provide every kind of object as a paramter.
>
> But within the template, it seems to me, that those Parameters are
> only processed as Strings.
>
> So my question:
> Is there a way/best practice to provide object parameters, to e.g. a
> startup order or route configurable error handler could be provided?
> Maybe I miss something, but I could not find anything about it within
> the documentation
> (https://camel.apache.org/manual/latest/route-template.html)?
>
>
> Btw: Using the route templates is a really great feature!
>
> Thanks,
> Joerg



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

Reply via email to