awips2/edexOsgi/com.raytheon.uf.edex.datadelivery.bandwidth/res/spring/thrift-bandwidth.xml
Steve Harris d9be4dce21 13.2.1-2 baseline
Former-commit-id: 33bc5fd816 [formerly 83e9157df7] [formerly 328c6dccad [formerly bd9eec1d4e6fd843c7bb594b8adb882d72edc6cf]]
Former-commit-id: 328c6dccad
Former-commit-id: 47cc08ac79
2013-01-23 11:18:44 -05:00

33 lines
No EOL
1.6 KiB
XML

<beans xmlns="http://www.springframework.org/schema/beans"
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://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd">
<bean id="bandwidthHandlerRegistry" class="com.raytheon.uf.edex.auth.HandlerRegistry" factory-method="getInstance"/>
<bean id="bandwidthSerializeServer" class="com.raytheon.uf.edex.auth.RemoteRequestServer" factory-method="getInstance">
<property name="registry" ref="bandwidthHandlerRegistry"/>
</bean>
<bean id="bandwidthRouteWrapper" class="com.raytheon.uf.edex.auth.RemoteRequestRouteWrapper">
<property name="server" ref="bandwidthSerializeServer"/>
</bean>
<bean id="binaryHttpBinding" class="com.raytheon.uf.edex.esb.camel.http.BinaryHttpBinding"/>
<camelContext id="bandwidth-thrift-service"
xmlns="http://camel.apache.org/schema/spring"
errorHandlerRef="errorHandler">
<route id="bandwithThriftService">
<from uri="jetty:http://0.0.0.0:9589/services/thrift?disableStreamCache=true&amp;chunked=false&amp;httpBindingRef=#binaryHttpBinding" />
<bean ref="bandwidthRouteWrapper" method="executeThrift"/>
</route>
</camelContext>
<bean factory-bean="bandwidthHandlerRegistry" factory-method="register">
<constructor-arg value="com.raytheon.uf.common.datadelivery.bandwidth.IBandwidthRequest"/>
<constructor-arg ref="bandwidthManager"/>
</bean>
</beans>