awips2/edexOsgi/com.raytheon.uf.edex.auth/res/spring/auth-request.xml
Richard Peter 8141fe33fc Issue #1189: Remove camel http header copy overhead
Change-Id: I00dcf2d41972359b36c7485425f61cb6fc74759a

Former-commit-id: 59b12a2eaa [formerly bc28c38ef4] [formerly 85c2977c00 [formerly 4818be92cdeb4bc9a4064f59d2c4a773aca5f1aa]]
Former-commit-id: 85c2977c00
Former-commit-id: 210a8734f5
2012-09-19 10:04:30 -05:00

27 lines
No EOL
1.3 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="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&amp;chunked=false&amp;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>
</beans>