awips2/edexOsgi/com.raytheon.uf.edex.registry.ebxml/res/spring/ebxml-garbagecollector-edex-impl.xml

16 lines
765 B
XML
Raw Normal View History

<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>