activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r520566 - /activemq/camel/trunk/camel-xbean/src/test/resources/org/apache/camel/xbean/xbean_route_builder_test.xml
Date Tue, 20 Mar 2007 20:43:51 GMT
Author: chirino
Date: Tue Mar 20 13:43:49 2007
New Revision: 520566

URL: http://svn.apache.org/viewvc?view=rev&rev=520566
Log:
retabed

Modified:
    activemq/camel/trunk/camel-xbean/src/test/resources/org/apache/camel/xbean/xbean_route_builder_test.xml

Modified: activemq/camel/trunk/camel-xbean/src/test/resources/org/apache/camel/xbean/xbean_route_builder_test.xml
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/camel-xbean/src/test/resources/org/apache/camel/xbean/xbean_route_builder_test.xml?view=diff&rev=520566&r1=520565&r2=520566
==============================================================================
--- activemq/camel/trunk/camel-xbean/src/test/resources/org/apache/camel/xbean/xbean_route_builder_test.xml
(original)
+++ activemq/camel/trunk/camel-xbean/src/test/resources/org/apache/camel/xbean/xbean_route_builder_test.xml
Tue Mar 20 13:43:49 2007
@@ -16,141 +16,141 @@
     limitations under the License.
 -->
 <beans>
-	<!-- Right now this is just ideas of what we wish the xml could look like -->
+    <!-- Right now this is just ideas of what we wish the xml could look like -->
 
-	<!-- 
+    <!-- 
         from("queue:a").to("queue:b");
-	 -->
-	<RouteBuilder id="buildSimpleRoute">
-	   <routes>
-	      <route>
-			<from uri="queue:a"/>
-			<to uri="queue:b"/>
-	      </route>
-	   </routes>
-	</RouteBuilder>
-	
-	<!-- 
-		from("queue:a").process(myProcessor);
-	 -->
-	<RouteBuilder id="buildCustomProcessor">
-	   <routes>
-	      <route>
-			<from uri="queue:a"/>
-			<processor>
-		  	  <bean id="myProcessor" class="some.Processor"/>
-			</processor>
-	      </route>
-	   </routes>
-	</RouteBuilder>
+     -->
+    <RouteBuilder id="buildSimpleRoute">
+       <routes>
+          <route>
+            <from uri="queue:a"/>
+            <to uri="queue:b"/>
+          </route>
+       </routes>
+    </RouteBuilder>
+    
+    <!-- 
+        from("queue:a").process(myProcessor);
+     -->
+    <RouteBuilder id="buildCustomProcessor">
+       <routes>
+          <route>
+            <from uri="queue:a"/>
+            <processor>
+              <bean id="myProcessor" class="some.Processor"/>
+            </processor>
+          </route>
+       </routes>
+    </RouteBuilder>
 
 
-	<!-- 
+    <!-- 
         from("queue:a").filter(headerEquals("foo", "bar")).process(myProcessor);
-	 -->
-	<RouteBuilder id="buildCustomProcessorWithFilter">
-	   <routes>
-	      <route>
-			<from uri="queue:a"/>
-			<filter>
-				<predicate>
-				   <header name="foo"/>
-				   <equalTo value="bar"/>
-				</predicate>
-			</filter>
-			<processor>
-		  	  <bean class="some.Processor"/>
-			</processor>
-	      </route>
-	   </routes>
-	</RouteBuilder>
+     -->
+    <RouteBuilder id="buildCustomProcessorWithFilter">
+       <routes>
+          <route>
+            <from uri="queue:a"/>
+            <filter>
+                <predicate>
+                   <header name="foo"/>
+                   <equalTo value="bar"/>
+                </predicate>
+            </filter>
+            <processor>
+              <bean class="some.Processor"/>
+            </processor>
+          </route>
+       </routes>
+    </RouteBuilder>
 
-	<!-- 
+    <!-- 
         from("queue:a")
            .intercept()
-   		      .add(interceptor1)
-   		      .add(interceptor2)
-   	       .target().to("queue:d");
-	 -->
-	<RouteBuilder id="buildRouteWithInterceptor">
-	   <routes>
-	      <route>
-			<from uri="queue:a"/>
-			<intercept>
-				<bean id="interceptor1" class="some.InterceptorProcessor"/>
-				<bean id="interceptor2" class="some.InterceptorProcessor"/>
-			</intercept>
-			<to uri="queue:b"/>
-	      </route>
-	   </routes>
-	</RouteBuilder>
+              .add(interceptor1)
+              .add(interceptor2)
+           .target().to("queue:d");
+     -->
+    <RouteBuilder id="buildRouteWithInterceptor">
+       <routes>
+          <route>
+            <from uri="queue:a"/>
+            <intercept>
+                <bean id="interceptor1" class="some.InterceptorProcessor"/>
+                <bean id="interceptor2" class="some.InterceptorProcessor"/>
+            </intercept>
+            <to uri="queue:b"/>
+          </route>
+       </routes>
+    </RouteBuilder>
 
-	<!-- 
+    <!-- 
         from("queue:a").choice()
                 .when(header("foo").isEqualTo("bar")).to("queue:b")
                 .when(header("foo").isEqualTo("cheese")).to("queue:c")
                 .otherwise().to("queue:d");
-	 -->
-	<routeBuilder id="buildSimpleRouteWithChoice">
-	   <routes>
-	      <route>
-			<from uri="queue:a"/>
-			<choice>
-				<when>
-					<predicate>
-					   <header name="foo"/>
-					   <equalTo value="bar"/>
-					</predicate>
-  				    <to uri="queue:b"/>
-				</when>
-				
-				<when>
-					<predicate>
-					   <header name="foo"/>
-					   <equalTo value="cheese"/>
-					</predicate>
-				    <to uri="queue:c"/>
-				</when>
-				<otherwise>
-					<to uri="queue:d"/>
-				</otherwise>
-			</choice>
-	      </route>
-	   </routes>
-	</routeBuilder>
+     -->
+    <routeBuilder id="buildSimpleRouteWithChoice">
+       <routes>
+          <route>
+            <from uri="queue:a"/>
+            <choice>
+                <when>
+                    <predicate>
+                       <header name="foo"/>
+                       <equalTo value="bar"/>
+                    </predicate>
+                    <to uri="queue:b"/>
+                </when>
+                
+                <when>
+                    <predicate>
+                       <header name="foo"/>
+                       <equalTo value="cheese"/>
+                    </predicate>
+                    <to uri="queue:c"/>
+                </when>
+                <otherwise>
+                    <to uri="queue:d"/>
+                </otherwise>
+            </choice>
+          </route>
+       </routes>
+    </routeBuilder>
 
-	<!-- 
+    <!-- 
         from("queue:a").filter(headerEquals("foo", "bar")).to("queue:b");
-	 -->
-	<RouteBuilder id="buildSimpleRouteWithHeaderPredicate">
-	   <routes>
-	      <route>
-			<from uri="queue:a"/>
-			<filter>
-				<predicate>
-				   <header name="foo"/>
-				   <equalTo value="bar"/>
-				</predicate>
-			</filter>
-			<to uri="queue:b"/>
-	      </route>
-	   </routes>
-	</RouteBuilder>
+     -->
+    <RouteBuilder id="buildSimpleRouteWithHeaderPredicate">
+       <routes>
+          <route>
+            <from uri="queue:a"/>
+            <filter>
+                <predicate>
+                   <header name="foo"/>
+                   <equalTo value="bar"/>
+                </predicate>
+            </filter>
+            <to uri="queue:b"/>
+          </route>
+       </routes>
+    </RouteBuilder>
 
-	<!-- 
+    <!-- 
         from("queue:a").to("queue:tap", "queue:b");
-	 -->
-	<RouteBuilder id="buildWireTap">
-	   <routes>
-	      <route>
-			<from uri="queue:a"/>
-			<to>
-			   <uri>queue:tap</uri>
-			   <uri>queue:a</uri>
-			</to>
-	      </route>
-	   </routes>
-	</RouteBuilder>
+     -->
+    <RouteBuilder id="buildWireTap">
+       <routes>
+          <route>
+            <from uri="queue:a"/>
+            <to>
+               <uri>queue:tap</uri>
+               <uri>queue:a</uri>
+            </to>
+          </route>
+       </routes>
+    </RouteBuilder>
 
 </beans>
 <!-- END SNIPPET: example -->



Mime
View raw message