2012-01-06 08:55:05 -06:00
|
|
|
<beans xmlns="http://www.springframework.org/schema/beans"
|
2013-05-14 14:40:47 -05:00
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
2012-01-06 08:55:05 -06:00
|
|
|
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
|
2013-05-14 14:40:47 -05:00
|
|
|
http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd">
|
|
|
|
|
2012-11-14 14:19:20 -06:00
|
|
|
<bean id="binaryHttpBinding" class="com.raytheon.uf.edex.esb.camel.http.BinaryHttpBinding"/>
|
2012-01-06 08:55:05 -06:00
|
|
|
|
2012-11-14 14:19:20 -06:00
|
|
|
<camelContext id="server-camel"
|
|
|
|
xmlns="http://camel.apache.org/schema/spring"
|
2012-01-06 08:55:05 -06:00
|
|
|
errorHandlerRef="errorHandler">
|
2012-11-14 14:19:20 -06:00
|
|
|
|
2012-08-21 15:27:03 -05:00
|
|
|
<endpoint id="thriftService_from"
|
|
|
|
uri="jetty:http://0.0.0.0:${http.port}/services/thrift?disableStreamCache=true&chunked=false&httpBindingRef=#binaryHttpBinding" />
|
|
|
|
|
2012-10-16 13:27:07 -05:00
|
|
|
<route id="thriftService" streamCache="false">
|
2012-08-21 15:27:03 -05:00
|
|
|
<from uri="ref:thriftService_from" />
|
2012-11-14 14:19:20 -06:00
|
|
|
<removeHeaders pattern="CamelHttp*"/>
|
|
|
|
<bean ref="routeWrapper" method="executeThrift"/>
|
2012-01-06 08:55:05 -06:00
|
|
|
</route>
|
|
|
|
|
|
|
|
</camelContext>
|
|
|
|
|
2012-11-14 14:19:20 -06:00
|
|
|
<bean id="webservice" class="com.raytheon.uf.edex.auth.RemoteServiceRequestHandler"/>
|
2012-01-06 08:55:05 -06:00
|
|
|
|
|
|
|
<bean factory-bean="handlerRegistry" factory-method="register">
|
2012-11-14 14:19:20 -06:00
|
|
|
<constructor-arg value="com.raytheon.uf.common.serialization.comm.RemoteServiceRequest"/>
|
|
|
|
<constructor-arg ref="webservice"/>
|
|
|
|
</bean>
|
2013-01-23 11:18:44 -05:00
|
|
|
|
|
|
|
<bean factory-bean="serverLocationRegistry" factory-method="register">
|
|
|
|
<constructor-arg ref="requestServerKey" />
|
|
|
|
<constructor-arg value="${http.server}" />
|
|
|
|
</bean>
|
2012-01-06 08:55:05 -06:00
|
|
|
</beans>
|