Author: davsclaus Date: Tue Apr 17 05:33:34 2012 New Revision: 1326935 URL: http://svn.apache.org/viewvc?rev=1326935&view=rev Log: Faster test with direct endpoints
Modified: camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/xml/buildCustomProcessor.xml camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/xml/buildCustomProcessorWithFilter.xml camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/xml/buildDynamicRecipientList.xml camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/xml/buildIdempotentConsumer.xml camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/xml/buildSimpleRoute.xml camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/xml/buildSimpleRouteWithChoice.xml camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/xml/buildSimpleRouteWithHeaderPredicate.xml camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/xml/buildSplitter.xml camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/xml/buildStaticRecipientList.xml camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/xml/buildWireTap.xml Modified: camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/xml/buildCustomProcessor.xml URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/xml/buildCustomProcessor.xml?rev=1326935&r1=1326934&r2=1326935&view=diff ============================================================================== --- camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/xml/buildCustomProcessor.xml (original) +++ camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/xml/buildCustomProcessor.xml Tue Apr 17 05:33:34 2012 @@ -32,7 +32,7 @@ <camelContext errorHandlerRef="errorHandler" xmlns="http://camel.apache.org/schema/spring"> <route> - <from uri="seda:a"/> + <from uri="direct:a"/> <process ref="myProcessor"/> </route> </camelContext> Modified: camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/xml/buildCustomProcessorWithFilter.xml URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/xml/buildCustomProcessorWithFilter.xml?rev=1326935&r1=1326934&r2=1326935&view=diff ============================================================================== --- camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/xml/buildCustomProcessorWithFilter.xml (original) +++ camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/xml/buildCustomProcessorWithFilter.xml Tue Apr 17 05:33:34 2012 @@ -32,7 +32,7 @@ <camelContext errorHandlerRef="errorHandler" xmlns="http://camel.apache.org/schema/spring"> <route> - <from uri="seda:a"/> + <from uri="direct:a"/> <filter> <xpath>$foo = 'bar'</xpath> <process ref="myProcessor"/> Modified: camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/xml/buildDynamicRecipientList.xml URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/xml/buildDynamicRecipientList.xml?rev=1326935&r1=1326934&r2=1326935&view=diff ============================================================================== --- camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/xml/buildDynamicRecipientList.xml (original) +++ camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/xml/buildDynamicRecipientList.xml Tue Apr 17 05:33:34 2012 @@ -30,7 +30,7 @@ <!-- START SNIPPET: example --> <camelContext errorHandlerRef="errorHandler" xmlns="http://camel.apache.org/schema/spring"> <route> - <from uri="seda:a"/> + <from uri="direct:a"/> <recipientList> <xpath>$foo</xpath> </recipientList> Modified: camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/xml/buildIdempotentConsumer.xml URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/xml/buildIdempotentConsumer.xml?rev=1326935&r1=1326934&r2=1326935&view=diff ============================================================================== --- camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/xml/buildIdempotentConsumer.xml (original) +++ camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/xml/buildIdempotentConsumer.xml Tue Apr 17 05:33:34 2012 @@ -30,8 +30,8 @@ <!-- START SNIPPET: example --> <camelContext errorHandlerRef="errorHandler" xmlns="http://camel.apache.org/schema/spring"> <route> - <from uri="seda:a"/> - <to uri="seda:b"/> + <from uri="direct:a"/> + <to uri="direct:b"/> </route> </camelContext> <!-- END SNIPPET: example --> Modified: camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/xml/buildSimpleRoute.xml URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/xml/buildSimpleRoute.xml?rev=1326935&r1=1326934&r2=1326935&view=diff ============================================================================== --- camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/xml/buildSimpleRoute.xml (original) +++ camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/xml/buildSimpleRoute.xml Tue Apr 17 05:33:34 2012 @@ -30,8 +30,8 @@ <!-- START SNIPPET: example --> <camelContext errorHandlerRef="errorHandler" xmlns="http://camel.apache.org/schema/spring"> <route> - <from uri="seda:a"/> - <to uri="seda:b"/> + <from uri="direct:a"/> + <to uri="direct:b"/> </route> </camelContext> <!-- END SNIPPET: example --> Modified: camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/xml/buildSimpleRouteWithChoice.xml URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/xml/buildSimpleRouteWithChoice.xml?rev=1326935&r1=1326934&r2=1326935&view=diff ============================================================================== --- camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/xml/buildSimpleRouteWithChoice.xml (original) +++ camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/xml/buildSimpleRouteWithChoice.xml Tue Apr 17 05:33:34 2012 @@ -30,18 +30,18 @@ <!-- START SNIPPET: example --> <camelContext errorHandlerRef="errorHandler" xmlns="http://camel.apache.org/schema/spring"> <route> - <from uri="seda:a"/> + <from uri="direct:a"/> <choice> <when> <xpath>$foo = 'bar'</xpath> - <to uri="seda:b"/> + <to uri="direct:b"/> </when> <when> <xpath>$foo = 'cheese'</xpath> - <to uri="seda:c"/> + <to uri="direct:c"/> </when> <otherwise> - <to uri="seda:d"/> + <to uri="direct:d"/> </otherwise> </choice> </route> Modified: camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/xml/buildSimpleRouteWithHeaderPredicate.xml URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/xml/buildSimpleRouteWithHeaderPredicate.xml?rev=1326935&r1=1326934&r2=1326935&view=diff ============================================================================== --- camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/xml/buildSimpleRouteWithHeaderPredicate.xml (original) +++ camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/xml/buildSimpleRouteWithHeaderPredicate.xml Tue Apr 17 05:33:34 2012 @@ -30,10 +30,10 @@ <!-- START SNIPPET: example --> <camelContext errorHandlerRef="errorHandler" xmlns="http://camel.apache.org/schema/spring"> <route> - <from uri="seda:a"/> + <from uri="direct:a"/> <filter> <xpath>$foo = 'bar'</xpath> - <to uri="seda:b"/> + <to uri="direct:b"/> </filter> </route> </camelContext> Modified: camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/xml/buildSplitter.xml URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/xml/buildSplitter.xml?rev=1326935&r1=1326934&r2=1326935&view=diff ============================================================================== --- camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/xml/buildSplitter.xml (original) +++ camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/xml/buildSplitter.xml Tue Apr 17 05:33:34 2012 @@ -30,10 +30,10 @@ <!-- START SNIPPET: example --> <camelContext errorHandlerRef="errorHandler" xmlns="http://camel.apache.org/schema/spring"> <route> - <from uri="seda:a"/> + <from uri="direct:a"/> <split> <xpath>/invoice/lineItems</xpath> - <to uri="seda:b"/> + <to uri="direct:b"/> </split> </route> </camelContext> Modified: camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/xml/buildStaticRecipientList.xml URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/xml/buildStaticRecipientList.xml?rev=1326935&r1=1326934&r2=1326935&view=diff ============================================================================== --- camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/xml/buildStaticRecipientList.xml (original) +++ camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/xml/buildStaticRecipientList.xml Tue Apr 17 05:33:34 2012 @@ -30,11 +30,11 @@ <!-- START SNIPPET: example --> <camelContext errorHandlerRef="errorHandler" xmlns="http://camel.apache.org/schema/spring"> <route> - <from uri="seda:a"/> + <from uri="direct:a"/> <multicast> - <to uri="seda:b"/> - <to uri="seda:c"/> - <to uri="seda:d"/> + <to uri="direct:b"/> + <to uri="direct:c"/> + <to uri="direct:d"/> </multicast> </route> </camelContext> Modified: camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/xml/buildWireTap.xml URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/xml/buildWireTap.xml?rev=1326935&r1=1326934&r2=1326935&view=diff ============================================================================== --- camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/xml/buildWireTap.xml (original) +++ camel/trunk/components/camel-spring/src/test/resources/org/apache/camel/spring/xml/buildWireTap.xml Tue Apr 17 05:33:34 2012 @@ -30,10 +30,10 @@ <!-- START SNIPPET: example --> <camelContext errorHandlerRef="errorHandler" xmlns="http://camel.apache.org/schema/spring"> <route> - <from uri="seda:a"/> + <from uri="direct:a"/> <multicast> - <to uri="seda:tap"/> - <to uri="seda:b"/> + <to uri="direct:tap"/> + <to uri="direct:b"/> </multicast> </route> </camelContext>