awips2/cave/com.raytheon.uf.viz.core/res/spring/viz.xml
Steve Harris f52ec0b0a0 13.1.2-2 baseline
Former-commit-id: 51208e5515 [formerly c0c1d56f3a] [formerly 51208e5515 [formerly c0c1d56f3a] [formerly 4ba416aeb3 [formerly 221d0aaf0e19a054387134e72a76a278159bf4d0]]]
Former-commit-id: 4ba416aeb3
Former-commit-id: cd4185ef5c [formerly 941337c553]
Former-commit-id: b6fa9b4858
2013-01-06 14:32:24 -06:00

51 lines
No EOL
2.5 KiB
XML

<beans
xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd">
<bean id="httpClient" class="com.raytheon.uf.common.comm.HttpClient" factory-method="getInstance">
<property name="socketTimeout" value="330000"/>
<property name="connectionTimeout" value="10000"/>
<property name="maxConnectionsPerHost" value="10"/>
<property name="compressRequests" value="false"/>
<property name="gzipResponseHandling" value="false"/>
</bean>
<bean id="baosPool" class="com.raytheon.uf.common.util.ByteArrayOutputStreamPool" factory-method="getInstance">
<property name="maxPoolSize" value="8"/>
<property name="initStreamSize" value="1"/>
<property name="maxStreamSize" value="5.5"/>
</bean>
<bean id="vizMonitorHandler" class="com.raytheon.uf.viz.core.status.VizMonitorHandler">
<property name="monitorEndpoint" value="edex.alerts.msg"/>
</bean>
<!-- FIXME: Uncomment to re-enable cache at CAVE startup
<bean id="gfeDiskCache" class="com.raytheon.uf.common.cache.disk.DiskCache" init-method="activateCache">
<property name="name" value="GFE"/> -->
<!-- TODO: Make this an environment variable that's passed in -->
<!-- Cache directory relative to caveData/etc/workstation/${host} default is diskCache, will be followed by ${NAME}/${PID} -->
<!-- <property name="baseCacheDir" value="diskCache"/> -->
<!-- Number of grids, to always allow in memory -->
<!-- <property name="sizeMemCacheMap" value="150"/>
</bean> -->
<bean class="com.raytheon.uf.common.geospatial.LogRedirector" factory-method="getInstance"/>
<bean id="requestRouterRegistry"
class="com.raytheon.uf.common.serialization.comm.RequestRouter"
factory-method="getRouterRegistry" />
<bean id="requestServiceRouter" class="com.raytheon.uf.viz.core.requests.ServerRequestRouter">
<!-- This bean will cause all RequestRouter.route(request) calls to be serialized over to EDEX -->
</bean>
<bean factory-bean="requestRouterRegistry" factory-method="register">
<constructor-arg value="request.server" />
<constructor-arg ref="requestServiceRouter" />
</bean>
</beans>