awips2/edexOsgi/com.raytheon.uf.edex.wfs/res/spring/wfs-ogc-rest-request.xml
Dave Hladky 3f842ea0de Issue #2554 added explicit threading to WFS, ability to send GZIP requests, fixed maxfeatures, fixed adhoc display
Former-commit-id: 162dcb3f42 [formerly 233238d8df] [formerly 04c7e2cffc] [formerly 162dcb3f42 [formerly 233238d8df] [formerly 04c7e2cffc] [formerly a9a3973319 [formerly 04c7e2cffc [formerly e79ff905cbe3330dbe22b6663753e1d5e6dbe7bd]]]]
Former-commit-id: a9a3973319
Former-commit-id: ad8acfb5f4 [formerly cebf79ad44] [formerly 72c3d32a8a4aa43ecf8d033ca096d32cb261c568 [formerly ebd6d5cbe1]]
Former-commit-id: b147519b3153c2a930101210430242451206b975 [formerly 54af53ffb4]
Former-commit-id: 2e254e0208
2013-11-21 14:46:47 -06:00

49 lines
No EOL
1.7 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="wfsHandler" class="com.raytheon.uf.edex.wfs.WfsHttpHandler">
<!--
Thread the WFS requests, this allows you fine grain control
over how many requests are serviced simultaneously.
<constructor-arg>
<bean id="threadPool" class="org.eclipse.jetty.util.thread.QueuedThreadPool">
<property name="minThreads" value="2"/>
<property name="maxThreads" value="4"/>
</bean>
</constructor-arg>
-->
<constructor-arg>
<list>
<bean class="com.raytheon.uf.edex.wfs.v1_1_0.Wfs1_1_0Provider">
<constructor-arg ref="wfsRegistry" />
</bean>
<ref bean="wfs2_0_0Provider"/>
</list>
</constructor-arg>
</bean>
<bean id="wfsHttpPool" class="com.raytheon.uf.edex.ogc.common.http.SingleHttpPool">
<constructor-arg ref="wfsHandler" />
</bean>
<bean id="wfserv" class="com.raytheon.uf.edex.ogc.common.http.OgcHttpEndpoint">
<constructor-arg ref="wfsHttpPool" />
</bean>
<camelContext id="wfs-rest-camel" xmlns="http://camel.apache.org/schema/spring" errorHandlerRef="errorHandler">
<route id="WfsRest">
<!-- Set a maximum and minimum number of threads -->
<from uri="jetty:http://0.0.0.0:8085/wfs?maxThreads=4&amp;minThreads=2" />
<bean ref="wfserv" />
</route>
</camelContext>
</beans>