Issue #1638 Added persistIndex route that only persists and indexes

Change-Id: I2d53bae64dca80e20777407c62ce7cc7546e3fae

Former-commit-id: 040a09b8ab [formerly d55e7a0eda] [formerly e91406ab10] [formerly a308b27c2f [formerly e91406ab10 [formerly 3d386df8a1def460f81468154964603e7c1edbe8]]]
Former-commit-id: a308b27c2f
Former-commit-id: e4d956e4004a3d775c7a86d2f7a9ed188361fc67 [formerly d9a481f542]
Former-commit-id: 623c49c3cc
This commit is contained in:
Max Schenkelberg 2013-03-28 15:45:31 -05:00
parent d37764f722
commit 232655183c

View file

@ -21,6 +21,17 @@
<camelContext id="persist-camel" xmlns="http://camel.apache.org/schema/spring" errorHandlerRef="errorHandler"> <camelContext id="persist-camel" xmlns="http://camel.apache.org/schema/spring" errorHandlerRef="errorHandler">
<!-- Generic persist and indexing
Intended for routes that need persisting to HDF5,
Indexing but no alert processing
-->
<route id="persistIndex">
<from uri="directvm:persistIndex"/>
<bean ref="persist" method="persist"/>
<bean ref="index" method="index"/>
<bean ref="processUtil" method="log"/>
</route>
<!-- Generic persist, index and alert route <!-- Generic persist, index and alert route
Intended for routes that need persisting to HDF5, Intended for routes that need persisting to HDF5,
Indexing and Alerting Indexing and Alerting
@ -29,8 +40,8 @@
<from uri="directvm:persistIndexAlert"/> <from uri="directvm:persistIndexAlert"/>
<bean ref="persist" method="persist"/> <bean ref="persist" method="persist"/>
<bean ref="index" method="index"/> <bean ref="index" method="index"/>
<bean ref="toDataURI" method="toDataURI"/>
<bean ref="processUtil" method="log"/> <bean ref="processUtil" method="log"/>
<bean ref="toDataURI" method="toDataURI"/>
<to uri="vm:stageNotification"/> <to uri="vm:stageNotification"/>
</route> </route>
@ -40,8 +51,8 @@
<route id="indexAlert"> <route id="indexAlert">
<from uri="directvm:indexAlert"/> <from uri="directvm:indexAlert"/>
<bean ref="index" method="index"/> <bean ref="index" method="index"/>
<bean ref="toDataURI" method="toDataURI"/>
<bean ref="processUtil" method="log"/> <bean ref="processUtil" method="log"/>
<bean ref="toDataURI" method="toDataURI"/>
<to uri="vm:stageNotification"/> <to uri="vm:stageNotification"/>
</route> </route>