awips2/edexOsgi/com.raytheon.uf.edex.registry.ebxml/res/spring/ebxml-garbagecollector-edex-impl.xml
Benjamin Phillippe 34764a4a09 Issue #2191: Registry Garbage Collection
Change-Id: I15094a928b4f8793daab751b85a20b19b6352438

Former-commit-id: 6afda27e19d0ea38c547afc9a28c55525706f9f1
2013-07-12 11:33:21 -05:00

16 lines
No EOL
765 B
XML

<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd">
<camelContext id="ebxml-garbagecollector" xmlns="http://camel.apache.org/schema/spring"
errorHandlerRef="errorHandler">
<endpoint id="garbageCollectEndpoint"
uri="quartz://registry/garbageCollect/?cron=${ebxml-garbage-collect-process.cron}" />
<route id="garbageCollectRoute">
<from uri="garbageCollectEndpoint" />
<bean ref="RegistryGarbageCollector" method="gc" />
</route>
</camelContext>
</beans>