]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - demo/site/org.argeo.slc.demo.basic/conf/main.xml
Update ActiveMQ version
[gpl/argeo-slc.git] / demo / site / org.argeo.slc.demo.basic / conf / main.xml
index 046b36990a267161c64cc139bcba52c12e35e831..062a7aaf133b279df92c8cad8c11beb6b28e152f 100644 (file)
@@ -7,10 +7,14 @@
        http://www.springframework.org/schema/lang http://www.springframework.org/schema/lang/spring-lang-2.5.xsd\r
        http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd">\r
 \r
-       <bean id="executionModule" class="org.argeo.slc.osgi.OsgiExecutionModule" />\r
+       <bean id="executionModule" class="org.argeo.slc.osgi.OsgiExecutionModule">\r
+               <property name="executionContext">\r
+                       <ref bean="executionContext" />\r
+               </property>\r
+       </bean>\r
 \r
        <bean id="main" parent="slcTemplate.simpleFlow">\r
-               <property name="executionSpec">\r
+               <constructor-arg>\r
                        <bean parent="slcTemplate.simpleSpec">\r
                                <property name="attributes">\r
                                        <map>\r
@@ -20,7 +24,7 @@
                                        </map>\r
                                </property>\r
                        </bean>\r
-               </property>\r
+               </constructor-arg>\r
                <property name="executables">\r
                        <list>\r
                                <ref local="echo1" />\r
                </property>\r
        </bean>\r
 \r
+       <bean id="noArg" parent="slcTemplate.simpleFlow">\r
+               <property name="executables">\r
+                       <list>\r
+                               <bean parent="task.echo">\r
+                                       <property name="message" value="No rg!" />\r
+                               </bean>\r
+                       </list>\r
+               </property>\r
+       </bean>\r
+\r
        <bean id="echo1" parent="task.echo" scope="execution">\r
-               <property name="message"\r
-                       value="From main! @{testKey}" />\r
+               <property name="message" value="From main! @{testKey}" />\r
                <aop:scoped-proxy />\r
        </bean>\r
 </beans>
\ No newline at end of file