Former-commit-id:ab8b346489
[formerlyc8a43edd9e
] [formerlyab8b346489
[formerlyc8a43edd9e
] [formerlyd6b4cb65f4
[formerly b535a90fb25287945485c10b3c85749c11285171]]] Former-commit-id:d6b4cb65f4
Former-commit-id:6d7f57c62a
[formerly146c43a606
] Former-commit-id:0136f9d5a3
33 lines
No EOL
1.6 KiB
XML
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&chunked=false&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> |