Change-Id: I894adbc14e1bfe183a3f7717d95dba85291a2a09 Former-commit-id:11fa1b962c
[formerly5dc5530120
] [formerly095f84e71f
] [formerly11fa1b962c
[formerly5dc5530120
] [formerly095f84e71f
] [formerlyb88f012e69
[formerly095f84e71f
[formerly f6109e74ff5e26547c8fc03d7bb5ecde1046f689]]]] Former-commit-id:b88f012e69
Former-commit-id:2540fa9a95
[formerlyf29fb0a656
] [formerly f52e0674ecdaac7e697e849aef805d1954d0f156 [formerlye6b2143a6b
]] Former-commit-id: 2b18d20744bbddd9a580553d65302bd310fc36a0 [formerly237bdc0e2a
] Former-commit-id:a08ebbe0c7
31 lines
No EOL
1.4 KiB
XML
31 lines
No EOL
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-3.1.xsd
|
|
http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd">
|
|
|
|
<bean id="preciprateGenerator" class="com.raytheon.uf.edex.plugin.preciprate.PrecipRateGenerator"/>
|
|
|
|
<bean factory-bean="contextManager" factory-method="registerContextStateProcessor">
|
|
<constructor-arg ref="preciprate-camel" />
|
|
<constructor-arg ref="preciprateGenerator" />
|
|
</bean>
|
|
|
|
<bean factory-bean="cpgSrvDispatcher" factory-method="register">
|
|
<constructor-arg ref="preciprateGenerator"/>
|
|
</bean>
|
|
|
|
<camelContext id="preciprate-camel" xmlns="http://camel.apache.org/schema/spring" errorHandlerRef="errorHandler">
|
|
<route id="PrecipRateGenerate">
|
|
<from uri="jms-durable:queue:preciprateGenerate"/>
|
|
<doTry>
|
|
<bean ref="serializationUtil" method="transformFromThrift" />
|
|
<bean ref="preciprateGenerator" method="generate" />
|
|
<doCatch>
|
|
<exception>java.lang.Throwable</exception>
|
|
<to uri="log:precipRate?level=ERROR"/>
|
|
</doCatch>
|
|
</doTry>
|
|
</route>
|
|
</camelContext>
|
|
</beans> |