You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by ge...@apache.org on 2011/01/28 01:04:46 UTC
svn commit: r1064370 - in /servicemix/smx4/features/trunk/examples:
camel-blueprint/src/main/resources/OSGI-INF/blueprint/blueprint.xml
camel-nmr-blueprint/src/main/resources/OSGI-INF/blueprint/blueprint.xml
Author: gertv
Date: Fri Jan 28 00:04:46 2011
New Revision: 1064370
URL: http://svn.apache.org/viewvc?rev=1064370&view=rev
Log:
SMX4-751: Workaround for cm: tag handling
Modified:
servicemix/smx4/features/trunk/examples/camel-blueprint/src/main/resources/OSGI-INF/blueprint/blueprint.xml
servicemix/smx4/features/trunk/examples/camel-nmr-blueprint/src/main/resources/OSGI-INF/blueprint/blueprint.xml
Modified: servicemix/smx4/features/trunk/examples/camel-blueprint/src/main/resources/OSGI-INF/blueprint/blueprint.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/camel-blueprint/src/main/resources/OSGI-INF/blueprint/blueprint.xml?rev=1064370&r1=1064369&r2=1064370&view=diff
==============================================================================
--- servicemix/smx4/features/trunk/examples/camel-blueprint/src/main/resources/OSGI-INF/blueprint/blueprint.xml (original)
+++ servicemix/smx4/features/trunk/examples/camel-blueprint/src/main/resources/OSGI-INF/blueprint/blueprint.xml Fri Jan 28 00:04:46 2011
@@ -23,6 +23,12 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
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="org.apache.servicemix.examples">
+ <cm:default-properties>
+ <cm:property name="prefix" value="Blueprint-Example"/>
+ </cm:default-properties>
+ </cm:property-placeholder>
+
<camelContext xmlns="http://camel.apache.org/schema/blueprint">
<route>
<from uri="timer://myTimer?fixedRate=true&period=2000" />
@@ -34,11 +40,5 @@
<bean id="myTransform" class="org.apache.servicemix.examples.camel.MyTransform">
<property name="prefix" value="${prefix}" />
</bean>
-
- <cm:property-placeholder persistent-id="org.apache.servicemix.examples">
- <cm:default-properties>
- <cm:property name="prefix" value="Blueprint-Example"/>
- </cm:default-properties>
- </cm:property-placeholder>
</blueprint>
Modified: servicemix/smx4/features/trunk/examples/camel-nmr-blueprint/src/main/resources/OSGI-INF/blueprint/blueprint.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/camel-nmr-blueprint/src/main/resources/OSGI-INF/blueprint/blueprint.xml?rev=1064370&r1=1064369&r2=1064370&view=diff
==============================================================================
--- servicemix/smx4/features/trunk/examples/camel-nmr-blueprint/src/main/resources/OSGI-INF/blueprint/blueprint.xml (original)
+++ servicemix/smx4/features/trunk/examples/camel-nmr-blueprint/src/main/resources/OSGI-INF/blueprint/blueprint.xml Fri Jan 28 00:04:46 2011
@@ -23,6 +23,12 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
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="org.apache.servicemix.examples">
+ <cm:default-properties>
+ <cm:property name="prefix" value="Blueprint-NMR-Example"/>
+ </cm:default-properties>
+ </cm:property-placeholder>
+
<camelContext xmlns="http://camel.apache.org/schema/blueprint">
<!-- Route periodically sent events into the NMR -->
<route>
@@ -40,11 +46,5 @@
<bean id="myTransform" class="org.apache.servicemix.examples.camel.MyTransform">
<property name="prefix" value="${prefix}" />
</bean>
-
- <cm:property-placeholder persistent-id="org.apache.servicemix.examples">
- <cm:default-properties>
- <cm:property name="prefix" value="Blueprint-NMR-Example"/>
- </cm:default-properties>
- </cm:property-placeholder>
</blueprint>