Change-Id: I02d31a348c34aee48271dad291ae0f074e8e5158 Former-commit-id:1fcbeb41c9
[formerly08b9ce4c62
] [formerly6f1684b85c
[formerly 61921c6a5d4ae8d7e6b2546a11fb7407f780830f]] Former-commit-id:6f1684b85c
Former-commit-id:22c23492c4
34 lines
No EOL
1.4 KiB
XML
34 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-2.0.xsd
|
|
http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd">
|
|
|
|
<bean id="binaryHttpBinding" class="com.raytheon.uf.edex.esb.camel.http.BinaryHttpBinding"/>
|
|
|
|
<camelContext id="server-camel"
|
|
xmlns="http://camel.apache.org/schema/spring"
|
|
errorHandlerRef="errorHandler">
|
|
|
|
<endpoint id="thriftService_from"
|
|
uri="jetty:http://0.0.0.0:${http.port}/services/thrift?disableStreamCache=true&chunked=false&httpBindingRef=#binaryHttpBinding" />
|
|
|
|
<route id="thriftService" streamCache="false">
|
|
<from uri="ref:thriftService_from" />
|
|
<removeHeaders pattern="CamelHttp*"/>
|
|
<bean ref="routeWrapper" method="executeThrift"/>
|
|
</route>
|
|
|
|
</camelContext>
|
|
|
|
<bean id="webservice" class="com.raytheon.uf.edex.auth.RemoteServiceRequestHandler"/>
|
|
|
|
<bean factory-bean="handlerRegistry" factory-method="register">
|
|
<constructor-arg value="com.raytheon.uf.common.serialization.comm.RemoteServiceRequest"/>
|
|
<constructor-arg ref="webservice"/>
|
|
</bean>
|
|
|
|
<bean factory-bean="serverLocationRegistry" factory-method="register">
|
|
<constructor-arg ref="requestServerKey" />
|
|
<constructor-arg value="${http.server}" />
|
|
</bean>
|
|
</beans> |