Author: ffang
Date: Mon Nov 28 11:33:07 2011
New Revision: 1207088
URL: http://svn.apache.org/viewvc?rev=1207088&view=rev
Log:
[SMX4-988]should add delay to camel timer of camel-nmr and camel-nmr-blueprint
example so that the nmr endpoint get chance to create
Modified:
servicemix/smx4/features/trunk/examples/nmr/camel-nmr-blueprint/src/main/resources/OSGI-INF/blueprint/blueprint.xml
servicemix/smx4/features/trunk/examples/nmr/camel-nmr/src/main/resources/META-INF/spring/beans.xml
Modified:
servicemix/smx4/features/trunk/examples/nmr/camel-nmr-blueprint/src/main/resources/OSGI-INF/blueprint/blueprint.xml
URL:
http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/nmr/camel-nmr-blueprint/src/main/resources/OSGI-INF/blueprint/blueprint.xml?rev=1207088&r1=1207087&r2=1207088&view=diff
==============================================================================
---
servicemix/smx4/features/trunk/examples/nmr/camel-nmr-blueprint/src/main/resources/OSGI-INF/blueprint/blueprint.xml
(original)
+++
servicemix/smx4/features/trunk/examples/nmr/camel-nmr-blueprint/src/main/resources/OSGI-INF/blueprint/blueprint.xml
Mon Nov 28 11:33:07 2011
@@ -32,7 +32,7 @@
<camelContext xmlns="http://camel.apache.org/schema/blueprint">
<!-- Route periodically sent events into the NMR -->
<route>
- <from uri="timer://myTimer?fixedRate=true&period=2000" />
+ <from
uri="timer://myTimer?fixedRate=true&period=2000&delay=5000" />
<to uri="nmr:ExampleRouter" />
</route>
<!-- Route exchange from the NMR endpoint to a log endpoint -->
Modified:
servicemix/smx4/features/trunk/examples/nmr/camel-nmr/src/main/resources/META-INF/spring/beans.xml
URL:
http://svn.apache.org/viewvc/servicemix/smx4/features/trunk/examples/nmr/camel-nmr/src/main/resources/META-INF/spring/beans.xml?rev=1207088&r1=1207087&r2=1207088&view=diff
==============================================================================
---
servicemix/smx4/features/trunk/examples/nmr/camel-nmr/src/main/resources/META-INF/spring/beans.xml
(original)
+++
servicemix/smx4/features/trunk/examples/nmr/camel-nmr/src/main/resources/META-INF/spring/beans.xml
Mon Nov 28 11:33:07 2011
@@ -30,7 +30,7 @@
<camel:camelContext xmlns="http://camel.apache.org/schema/spring">
<!-- Route periodically sent events into the NMR -->
<route>
- <from uri="timer://myTimer?fixedRate=true&period=2000"/>
+ <from
uri="timer://myTimer?fixedRate=true&period=2000&delay=5000"/>
<to uri="nmr:ExampleRouter"/>
</route>
<!-- Route exchange from the NMR endpoint to a log endpoint -->