Modified: servicemix/smx3/trunk/common/servicemix-components/src/test/resources/org/apache/servicemix/components/xslt/split.xml URL: http://svn.apache.org/viewvc/servicemix/smx3/trunk/common/servicemix-components/src/test/resources/org/apache/servicemix/components/xslt/split.xml?rev=1089002&r1=1089001&r2=1089002&view=diff ============================================================================== --- servicemix/smx3/trunk/common/servicemix-components/src/test/resources/org/apache/servicemix/components/xslt/split.xml (original) +++ servicemix/smx3/trunk/common/servicemix-components/src/test/resources/org/apache/servicemix/components/xslt/split.xml Tue Apr 5 12:33:18 2011 @@ -17,47 +17,65 @@ limitations under the License. --> -<beans xmlns:sm="http://servicemix.apache.org/config/1.0" - xmlns:foo="http://servicemix.org/cheese/"> +<beans xmlns="http://www.springframework.org/schema/beans" + xmlns:sm="http://servicemix.apache.org/config/1.0" + xmlns:foo="http://servicemix.org/cheese/" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation=" + http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd + http://servicemix.apache.org/config/1.0 http://servicemix.apache.org/schema/servicemix-core-${project.version}.xsd"> + + <!-- the JBI container --> + <sm:container id="jbi" flowName="st"> + <sm:activationSpecs> + + <!-- START SNIPPET: xslt --> + <sm:activationSpec componentName="transformer" service="foo:transformer"> + <sm:component> + <bean class="org.apache.servicemix.components.xslt.XsltComponent"> + <property name="xsltResource" + value="classpath:org/apache/servicemix/components/xslt/split.xsl"/> - <!-- the JBI container --> - <sm:container id="jbi" flowName="st"> - <sm:activationSpecs> - - <!-- START SNIPPET: xslt --> - <sm:activationSpec componentName="transformer" service="foo:transformer"> - <sm:component><bean class="org.apache.servicemix.components.xslt.XsltComponent"> - <property name="xsltResource" value="classpath:org/apache/servicemix/components/xslt/split.xsl"/> - - <!-- lets disable automatic output of the result of the transform; only if we perform + <!-- lets disable automatic output of the result of the transform; only if we perform an invoke in the XSLT will we invoke another endpoint --> - <property name="disableOutput" value="true"/> - </bean></sm:component> - </sm:activationSpec> - <!-- END SNIPPET: xslt --> - - - <sm:activationSpec componentName="service1" service="foo:service1"> - <sm:component><bean class="org.apache.servicemix.tck.ReceiverComponent"/></sm:component> - </sm:activationSpec> - <sm:activationSpec componentName="service2" service="foo:service2"> - <sm:component><bean class="org.apache.servicemix.tck.ReceiverComponent"/></sm:component> - </sm:activationSpec> - <sm:activationSpec componentName="service3" service="foo:service3"> - <sm:component><bean class="org.apache.servicemix.tck.ReceiverComponent"/></sm:component> - </sm:activationSpec> - - <sm:activationSpec componentName="receiver" service="foo:receiver"> - <sm:component><bean class="org.apache.servicemix.tck.ReceiverComponent"/></sm:component> - </sm:activationSpec> - - <sm:activationSpec componentName="trace" service="foo:trace"> - <sm:component><bean class="org.apache.servicemix.components.util.TraceComponent"/></sm:component> - </sm:activationSpec> - </sm:activationSpecs> - </sm:container> - - <bean id="client" class="org.apache.servicemix.client.DefaultServiceMixClient"> - <constructor-arg ref="jbi"/> - </bean> + <property name="disableOutput" value="true"/> + </bean> + </sm:component> + </sm:activationSpec> + <!-- END SNIPPET: xslt --> + + <sm:activationSpec componentName="service1" service="foo:service1"> + <sm:component> + <bean class="org.apache.servicemix.tck.ReceiverComponent"/> + </sm:component> + </sm:activationSpec> + <sm:activationSpec componentName="service2" service="foo:service2"> + <sm:component> + <bean class="org.apache.servicemix.tck.ReceiverComponent"/> + </sm:component> + </sm:activationSpec> + <sm:activationSpec componentName="service3" service="foo:service3"> + <sm:component> + <bean class="org.apache.servicemix.tck.ReceiverComponent"/> + </sm:component> + </sm:activationSpec> + + <sm:activationSpec componentName="receiver" service="foo:receiver"> + <sm:component> + <bean class="org.apache.servicemix.tck.ReceiverComponent"/> + </sm:component> + </sm:activationSpec> + + <sm:activationSpec componentName="trace" service="foo:trace"> + <sm:component> + <bean class="org.apache.servicemix.components.util.TraceComponent"/> + </sm:component> + </sm:activationSpec> + </sm:activationSpecs> + </sm:container> + + <bean id="client" class="org.apache.servicemix.client.DefaultServiceMixClient"> + <constructor-arg ref="jbi"/> + </bean> + </beans>
