awips2/edexOsgi/com.raytheon.uf.edex.textdbsrv/res/spring/textdbsrv-request.xml
Richard Peter 30490a1f03 Issue #2928: Limit thriftsrv and textdbsrv streams.
Change-Id: I5f59d3ac39f7e776f88d65f3d015862968c3e178

Former-commit-id: 5cd9ef7549 [formerly cd7e51a5a0] [formerly ed3d88c27a] [formerly 5cd9ef7549 [formerly cd7e51a5a0] [formerly ed3d88c27a] [formerly 861a7b0cd5 [formerly ed3d88c27a [formerly 96bf7347434344901965bd4510d14edb9bdcd62a]]]]
Former-commit-id: 861a7b0cd5
Former-commit-id: fd5a8713cd [formerly 26fa572614] [formerly f62fee99e6d9769e14a116c702a4919172aff2f9 [formerly 1c6a4ef4b1]]
Former-commit-id: b39fec3d1d7cd5720a123385405f5f1e0c539884 [formerly 9c987a7710]
Former-commit-id: 2bf6b60253
2014-04-17 16:47:44 -05:00

21 lines
No EOL
1 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-3.1.xsd
http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd">
<bean id="textDbSrvWrapper" class = "com.raytheon.uf.edex.textdbsrv.TextDBSrvWrapper">
<property name="textdbSrv" ref="textdbsrv"/>
<property name="byteLimitInMB" value="${textdbsrv.byteLimitInMB}"/>
</bean>
<camelContext id="textdbsrv-request-camel" xmlns="http://camel.apache.org/schema/spring" errorHandlerRef="errorHandler">
<endpoint id="textdbsrvXml_from"
uri="jetty:http://0.0.0.0:${HTTP_PORT}/services/textdbsrv?disableStreamCache=true" />
<route id="textdbsrvXml">
<from uri="ref:textdbsrvXml_from" />
<bean ref="textDbSrvWrapper" method="executeTextDBMessage" />
</route>
</camelContext>
</beans>