28 lines
1.4 KiB
XML
28 lines
1.4 KiB
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">
|
|
|
|
<bean id="vtecFilter" class="com.raytheon.uf.edex.activetable.decoder.WarningHasVTECFilter"/>
|
|
|
|
<bean id="activeTableSrv" class="com.raytheon.uf.edex.activetable.ActiveTableSrv"/>
|
|
<bean id="activeTable" class="com.raytheon.uf.edex.activetable.ActiveTable"/>
|
|
<bean id="activeTableDatabaseProperties" class="com.raytheon.uf.edex.database.DatabasePluginProperties">
|
|
<property name="pluginFQN" value="com.raytheon.uf.common.activetable"/>
|
|
<property name="database" value="metadata"/>
|
|
</bean>
|
|
<bean factory-bean="dbPluginRegistry" factory-method="register">
|
|
<constructor-arg value="com.raytheon.uf.common.activetable"/>
|
|
<constructor-arg ref="activeTableDatabaseProperties"/>
|
|
</bean>
|
|
|
|
<camelContext id="activetable-camel" xmlns="http://camel.apache.org/schema/spring" errorHandlerRef="errorHandler">
|
|
<route id="vtecNotify">
|
|
<from uri="vm:edex.vtecAlert"/>
|
|
<bean ref="serializationUtil" method="transformToThrift"/>
|
|
<to uri="jms-generic:topic:edex.alerts.vtec?timeToLive=60000"/>
|
|
</route>
|
|
</camelContext>
|
|
</beans>
|