[
https://issues.apache.org/jira/browse/CAMEL-14963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17142750#comment-17142750
]
Luca Burgazzoli commented on CAMEL-14963:
-----------------------------------------
So assuming we have an application.properties like:
{code}
foo = bar
xyz = abc
{code}
and a pseudo route like
{code:java}
from("timer:tick")
.property("xyz", "toto")
.log("foo = {{foo}}")
.log("xyz = {{xyz}}")
{code}
Then the logs should be something like
{code}
foo = bar
xyz = toto
{code}
so xyz is taken from the parameters bound to the route and foo from the global
properties as there's no override on the route.
> camel-core - Parameterized RouteBuilder
> ---------------------------------------
>
> Key: CAMEL-14963
> URL: https://issues.apache.org/jira/browse/CAMEL-14963
> Project: Camel
> Issue Type: New Feature
> Components: camel-core
> Reporter: Claus Ibsen
> Priority: Major
> Fix For: 3.x
>
>
> Had some talk with Luca about parameterized route builder/routes so you could
> specify per route what parameters they has (required and optional) by
> parameter name.
> Then this information can be used by tooling, camel component etc to be able
> to instantiate a route and specify the parameters it requires.
> Some more details to follow. Just wanted to create a JIRA before forgetting.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)