]> git.argeo.org Git - gpl/argeo-slc.git/blob - modules/server/org.argeo.slc.server.agentproxy/META-INF/spring/agentProxy.xml
Prepare SLC v0.14.1 release
[gpl/argeo-slc.git] / modules / server / org.argeo.slc.server.agentproxy / META-INF / spring / agentProxy.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <beans xmlns="http://www.springframework.org/schema/beans"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xsi:schemaLocation="
5 http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
6
7 <import resource="classpath:org/argeo/slc/activemq/destinations.xml" />
8
9 <bean
10 class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
11 <property name="systemPropertiesModeName" value="SYSTEM_PROPERTIES_MODE_OVERRIDE" />
12 <property name="locations">
13 <value>osgibundle:agentproxy.properties</value>
14 </property>
15 </bean>
16
17 <!-- Agent Factory -->
18 <bean id="agentFactory" class="org.argeo.slc.jms.JmsAgentProxyFactory">
19 <property name="jmsTemplate">
20 <bean class="org.springframework.jms.core.JmsTemplate">
21 <property name="connectionFactory" ref="jmsConnectionFactory" />
22 <property name="messageConverter" ref="jmsMessageConverter" />
23 <property name="receiveTimeout" value="${slc.server.jms.agentProxy.timeout}" />
24 </bean>
25 </property>
26 <property name="requestDestination" ref="slcJms.destination.agent.request" />
27 <property name="responseDestination" ref="slcJms.destination.agent.response" />
28 <property name="pingAllDestination" ref="slcJms.destination.agent.pingAll" />
29 </bean>
30
31
32 </beans>