Former-commit-id:ab8b346489
[formerlyc8a43edd9e
] [formerlyab8b346489
[formerlyc8a43edd9e
] [formerlyd6b4cb65f4
[formerly b535a90fb25287945485c10b3c85749c11285171]]] Former-commit-id:d6b4cb65f4
Former-commit-id:6d7f57c62a
[formerly146c43a606
] Former-commit-id:0136f9d5a3
55 lines
No EOL
2.9 KiB
XML
55 lines
No EOL
2.9 KiB
XML
<beans xmlns="http://www.springframework.org/schema/beans"
|
|
xmlns:util="http://www.springframework.org/schema/util" xmlns:amq="http://activemq.apache.org/schema/core"
|
|
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-2.0.xsd
|
|
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.5.xsd
|
|
http://activemq.apache.org/schema/core http://activemq.apache.org/schema/core/activemq-core.xsd
|
|
http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd">
|
|
|
|
<!-- Stores beans that are used in bandwidth-datadelivery.xml, but that
|
|
have different implementations between production code and test code -->
|
|
<bean
|
|
class="com.raytheon.uf.edex.datadelivery.bandwidth.EdexBandwidthContextFactory">
|
|
<!-- This bean version is used to set the EDEX instance of BandwidthManager -->
|
|
<constructor-arg ref="bandwidthManager" />
|
|
</bean>
|
|
|
|
<bean id="bandwidthContextFactory"
|
|
class="com.raytheon.uf.edex.datadelivery.bandwidth.EdexBandwidthContextFactory">
|
|
<!-- Used as the context for creating the BandwidthManager -->
|
|
</bean>
|
|
|
|
<util:map id="retrievalAgents">
|
|
<entry key="Retrievals-1" value-ref="subscriptionRetrievalAgentPrototype" />
|
|
<entry key="Retrievals-2" value-ref="subscriptionRetrievalAgentPrototype" />
|
|
<entry key="Retrievals-3" value-ref="subscriptionRetrievalAgentPrototype" />
|
|
<entry key="Retrievals-4" value-ref="subscriptionRetrievalAgentPrototype" />
|
|
<entry key="Retrievals-5" value-ref="subscriptionRetrievalAgentPrototype" />
|
|
</util:map>
|
|
|
|
<camelContext id="BandwidthManager-context"
|
|
xmlns="http://camel.apache.org/schema/spring" errorHandlerRef="errorHandler">
|
|
|
|
<route id="bandwidthManagerProcessWork">
|
|
<from
|
|
uri="jms-generic:queue:matureSubscriptions?destinationResolver=#qpidDurableResolver" />
|
|
<doTry>
|
|
<pipeline>
|
|
<bean ref="serializationUtil" method="transformFromThrift" />
|
|
<bean ref="BandwidthManagerProcessor" method="process" />
|
|
<bean ref="BandwidthManagerRetrieval" method="generateRetrieval" />
|
|
|
|
<!-- notify retrieval threads, if data delivery made
|
|
into cluster this should move to topic post -->
|
|
<to uri="directvm:notifyRetrieval" />
|
|
</pipeline>
|
|
<doCatch>
|
|
<exception>java.lang.Throwable</exception>
|
|
<to
|
|
uri="log:BandwidthManagerProcess?level=ERROR&showBody=false&showCaughtException=true&showStackTrace=true" />
|
|
</doCatch>
|
|
</doTry>
|
|
</route>
|
|
</camelContext>
|
|
|
|
</beans> |