2012-01-06 08:55:05 -06:00
|
|
|
<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"
|
2012-12-03 11:53:40 -06:00
|
|
|
xmlns:util="http://www.springframework.org/schema/util"
|
2012-01-06 08:55:05 -06:00
|
|
|
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
|
2012-12-03 11:53:40 -06:00
|
|
|
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd
|
|
|
|
http://www.springframework.org/schema/util
|
|
|
|
http://www.springframework.org/schema/util/spring-util-2.5.xsd">
|
2012-11-06 17:25:52 -06:00
|
|
|
|
2012-01-06 08:55:05 -06:00
|
|
|
<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"/>
|
2012-10-11 17:28:03 -05:00
|
|
|
<property name="compressRequests" value="false"/>
|
|
|
|
<property name="gzipResponseHandling" value="false"/>
|
2012-01-06 08:55:05 -06:00
|
|
|
</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
|
2012-08-01 10:45:37 -05:00
|
|
|
<bean id="gfeDiskCache" class="com.raytheon.uf.common.cache.disk.DiskCache" init-method="activateCache">
|
2012-01-06 08:55:05 -06:00
|
|
|
<property name="name" value="GFE"/> -->
|
2012-11-15 15:26:01 -06:00
|
|
|
<!-- TODO: Make this an environment variable that's passed in -->
|
2012-01-06 08:55:05 -06:00
|
|
|
<!-- 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"/>
|
2012-11-19 12:41:15 -06:00
|
|
|
|
2012-12-03 11:53:40 -06:00
|
|
|
<!-- These util:constant beans should not be required, they overwrite the ones in *-common.xml files for CAVE since
|
|
|
|
CAVE just gets a ClassNotFoundException on boot...
|
|
|
|
someday the reason should be figured out and these beans removed -->
|
|
|
|
<util:constant id="requestServerKey"
|
|
|
|
static-field="com.raytheon.uf.common.auth.RequestConstants.REQUEST_SERVER" />
|
|
|
|
|
|
|
|
<!-- Register routers -->
|
2012-11-19 12:41:15 -06:00
|
|
|
<bean id="requestRouterRegistry"
|
|
|
|
class="com.raytheon.uf.common.serialization.comm.RequestRouter"
|
|
|
|
factory-method="getRouterRegistry" />
|
2012-11-15 15:26:01 -06:00
|
|
|
|
|
|
|
<bean id="requestServiceRouter" class="com.raytheon.uf.viz.core.requests.ServerRequestRouter">
|
2012-12-03 11:53:40 -06:00
|
|
|
<constructor-arg ref="requestServerKey" />
|
2012-11-15 15:26:01 -06:00
|
|
|
<!-- This bean will cause all RequestRouter.route(request) calls to be serialized over to EDEX -->
|
|
|
|
</bean>
|
|
|
|
|
|
|
|
<bean factory-bean="requestRouterRegistry" factory-method="register">
|
2012-12-03 11:53:40 -06:00
|
|
|
<constructor-arg ref="requestServerKey" />
|
2012-11-15 15:26:01 -06:00
|
|
|
<constructor-arg ref="requestServiceRouter" />
|
|
|
|
</bean>
|
|
|
|
|
2012-01-06 08:55:05 -06:00
|
|
|
</beans>
|