]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - server/org.argeo.slc.siteserver/bundles/org.argeo.slc.server.services/META-INF/spring/services.xml
Make jms more robust
[gpl/argeo-slc.git] / server / org.argeo.slc.siteserver / bundles / org.argeo.slc.server.services / META-INF / spring / services.xml
index e93f04885e8b72d5945a6fc2a39e8fa5afa84520..6ae0a3b850ec7498483e7e44b980c00417ab2086 100644 (file)
 
        <bean id="agentService" class="org.argeo.slc.services.impl.runtime.AgentServiceImpl">
                <constructor-arg ref="slcAgentDescriptorDao" />
+               <constructor-arg ref="agentFactory" />
+               <property name="pingCycle" value="0" />
        </bean>
 
-       <bean id="slcExecutionService" class="org.argeo.slc.services.impl.process.SlcExecutionServiceImpl">
+       <bean id="slcExecutionService"
+               class="org.argeo.slc.services.impl.process.SlcExecutionServiceImpl">
                <constructor-arg ref="slcExecutionDao" />
        </bean>
 
-       <!-- Services transactions
-       <aop:config>
-               <aop:pointcut id="serviceMethods"
-                       expression="execution(* org.argeo.slc.services.test.TestManagerService.*(..))" />
-               <aop:advisor advice-ref="serviceAdvice" pointcut-ref="serviceMethods" />
-       </aop:config>
-
-       <tx:advice id="serviceAdvice" transaction-manager="transactionManager">
-               <tx:attributes>
-                       <tx:method name="*" propagation="REQUIRED" />
-               </tx:attributes>
-       </tx:advice>
- -->
+       <!--
+               Services transactions <aop:config> <aop:pointcut id="serviceMethods"
+               expression="execution(*
+               org.argeo.slc.services.test.TestManagerService.*(..))" /> <aop:advisor
+               advice-ref="serviceAdvice" pointcut-ref="serviceMethods" />
+               </aop:config> <tx:advice id="serviceAdvice"
+               transaction-manager="transactionManager"> <tx:attributes> <tx:method
+               name="*" propagation="REQUIRED" /> </tx:attributes> </tx:advice>
+       -->
 </beans>
\ No newline at end of file