camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hiram Chirino (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CAMEL-8452) Camel route model - Preserve {{ }} placeholders in model
Date Thu, 12 Mar 2015 15:14:38 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-8452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Hiram Chirino resolved CAMEL-8452.
----------------------------------
    Resolution: Fixed
      Assignee: Hiram Chirino

> Camel route model - Preserve {{ }} placeholders in model
> --------------------------------------------------------
>
>                 Key: CAMEL-8452
>                 URL: https://issues.apache.org/jira/browse/CAMEL-8452
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.15.0
>            Reporter: Claus Ibsen
>            Assignee: Hiram Chirino
>             Fix For: 2.16.0
>
>
> When people use {{ }} property placeholders in the route model, it gets resolved with
the actual value during route creation, and the original {{ }} is lost.
> What we should do is preserve the {{ }} and do the resolve on demand (on access). The
trick is to make this transparent, or to keep a shadow map of the {{ }} to actual mapping
or something.
> But by preserving the {{ }} we can make round trip editing possible. And also if people
use {{ }} for username and passwords, then they are not exposed in the model.
> ITs this logic that resolves the placeholders currently
> org.apache.camel.model.ProcessorDefinitionHelper#resolvePropertyPlaceholders(org.apache.camel.CamelContext,
java.lang.Object)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message