awips2/edexOsgi/com.raytheon.uf.edex.wfs/res/spring/wfs-ogc-request.xml

32 lines
1.2 KiB
XML
Raw Normal View History

<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://activemq.apache.org/schema/core http://activemq.apache.org/schema/core/activemq-core.xsd
http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd">
<bean id="wfsRegistry" class="com.raytheon.uf.edex.wfs.reg.WfsRegistryImpl" >
</bean>
<bean id="wfsHttpPool" class="com.raytheon.uf.edex.ogc.common.http.OgcHttpPool" destroy-method="drain">
<constructor-arg ref="wfsFactory" />
</bean>
<bean id="wfsFactory" class="com.raytheon.uf.edex.wfs.WfsHttpFactory">
<constructor-arg ref="wfsRegistry" />
</bean>
<bean id="wfserv" class="com.raytheon.uf.edex.ogc.common.http.OgcHttpEndpoint">
<constructor-arg ref="wfsHttpPool" />
</bean>
<camelContext id="wfs-camel" xmlns="http://camel.apache.org/schema/spring" errorHandlerRef="errorHandler">
<route id="WfsRest">
<from uri="jetty:http://0.0.0.0:8085/wfs" />
<bean ref="wfserv" />
</route>
</camelContext>
</beans>