awips2/edexOsgi/com.raytheon.uf.edex.wcs/res/spring/wcs-ogc-request.xml
Steve Harris d9be4dce21 13.2.1-2 baseline
Former-commit-id: 33bc5fd816 [formerly 83e9157df7] [formerly 328c6dccad [formerly bd9eec1d4e6fd843c7bb594b8adb882d72edc6cf]]
Former-commit-id: 328c6dccad
Former-commit-id: 47cc08ac79
2013-01-23 11:18:44 -05:00

41 lines
No EOL
1.5 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://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="thriftWcsFormatter" class="com.raytheon.uf.edex.wcs.format.ThriftFormatter" />
<bean id="netcdfWcsFormatter" class="com.raytheon.uf.edex.wcs.format.NetCdfFormatter" />
<bean id="wcsHttpPool" class="com.raytheon.uf.edex.ogc.common.http.OgcHttpPool" destroy-method="drain">
<constructor-arg ref="wcsFactory" />
</bean>
<bean id="wcsFactory" class="com.raytheon.uf.edex.wcs.WcsHttpFactory">
</bean>
<bean id="wcserv" class="com.raytheon.uf.edex.ogc.common.http.OgcHttpEndpoint">
<constructor-arg ref="wcsHttpPool" />
</bean>
<bean id="defactoEnabler" class="com.raytheon.uf.edex.wcs.request.DefactoEnabler"/>
<camelContext id="wcs-camel" xmlns="http://camel.apache.org/schema/spring" errorHandlerRef="errorHandler">
<route id="WcsRest">
<from uri="jetty:http://0.0.0.0:8085/wcs" />
<bean ref="wcserv" />
</route>
<route id="WcsRestDefacto">
<from uri="jetty:http://0.0.0.0:8085/dfo-wcs" />
<bean ref="defactoEnabler" />
<bean ref="wcserv" />
</route>
</camelContext>
</beans>