I have the following camel blueprint xml route and want to set/overwrite in my CamelBlueprintTest the blueprint properties data.in and data.out to test directories:

<?xml version="1.0" encoding="UTF-8"?>
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0";

xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.0.0";>
    <cm:property-placeholder persistent-id="foo">
        <cm:default-properties>
            <cm:property name="data.in" value="data/in" />
            <cm:property name="data.out" value="data/out" />
        </cm:default-properties>
    </cm:property-placeholder>

<camelContext id="root" xmlns="http://camel.apache.org/schema/blueprint";>
        <route id="root1">
            <from uri="file:{{data.in}}?noop=true"/>
            <to uri="file:{{data.out}}"/>
        </route>
    </camelContext>
</blueprint>


Any ideas?

Reply via email to