awips2/edexOsgi/com.raytheon.uf.edex.registry.ebxml/res/spring/ebxml-garbagecollector-edex-impl.xml
2022-05-05 12:34:50 -05:00

18 lines
No EOL
831 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.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>