[
https://issues.apache.org/jira/browse/CAMEL-3673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12995705#comment-12995705
]
Claus Ibsen commented on CAMEL-3673:
------------------------------------
Achim if you have any hints or ideas how camel-blueprint can hook into the
blueprint placeholder, then feel free to add comments.
There is a PropertiesResolver SPI interface, which we may just implement/extend
in camel-blueprint to allow Camel to lookup the properties from OSGi.
> Property placeholders do not work with camel-blueprint
> -------------------------------------------------------
>
> Key: CAMEL-3673
> URL: https://issues.apache.org/jira/browse/CAMEL-3673
> Project: Camel
> Issue Type: Bug
> Components: camel-blueprint
> Affects Versions: 2.6.0
> Reporter: Achim Nierbeck
> Assignee: Claus Ibsen
>
> if I have a route that looks like:
> {code}
> <?xml version="1.0" encoding="UTF-8"?>
> <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.0.0"
> xmlns:ext="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0"
> xsi:schemaLocation="http://www.osgi.org/xmlns/blueprint/v1.0.0
>
> http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd">
> <cm:property-placeholder persistent-id="camel.blueprint" />
> <camelContext id="camel" trace="false"
> xmlns="http://camel.apache.org/schema/blueprint">
> <route>
> <from uri="file://${directory.in}/" />
> <to uri="file://${directory.out}/" />
> </route>
> </camelContext>
> </blueprint>
> {code}
> The placeholders aren't replaced by the actual value.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira