servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ge...@apache.org
Subject svn commit: r572774 - /incubator/servicemix/trunk/deployables/serviceengines/servicemix-camel/src/test/java/org/apache/servicemix/camel/TestCamelRouter.java
Date Tue, 04 Sep 2007 19:10:25 GMT
Author: gertv
Date: Tue Sep  4 12:10:24 2007
New Revision: 572774

URL: http://svn.apache.org/viewvc?rev=572774&view=rev
Log:
Fix CheckStyle build errors

Modified:
    incubator/servicemix/trunk/deployables/serviceengines/servicemix-camel/src/test/java/org/apache/servicemix/camel/TestCamelRouter.java

Modified: incubator/servicemix/trunk/deployables/serviceengines/servicemix-camel/src/test/java/org/apache/servicemix/camel/TestCamelRouter.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/deployables/serviceengines/servicemix-camel/src/test/java/org/apache/servicemix/camel/TestCamelRouter.java?rev=572774&r1=572773&r2=572774&view=diff
==============================================================================
--- incubator/servicemix/trunk/deployables/serviceengines/servicemix-camel/src/test/java/org/apache/servicemix/camel/TestCamelRouter.java
(original)
+++ incubator/servicemix/trunk/deployables/serviceengines/servicemix-camel/src/test/java/org/apache/servicemix/camel/TestCamelRouter.java
Tue Sep  4 12:10:24 2007
@@ -32,33 +32,33 @@
 
     public void testWithOut() throws Exception {
         a.whenExchangeReceived(1, new Processor() {
-			public void process(Exchange exchange) throws Exception {
-				exchange.getOut().setBody("out");
-			}
+            public void process(Exchange exchange) throws Exception {
+                exchange.getOut().setBody("out");
+            }
         });
         a.expectedMessageCount(1);
         b.expectedMessageCount(1);
         b.expectedBodiesReceived("out");
         c.expectedMessageCount(0);
-        
+
         template.sendBody("direct:start", "in");
-     
+
         MockEndpoint.assertIsSatisfied(a, b, c);
     }
 
     public void testWithFault() throws Exception {
         a.whenExchangeReceived(1, new Processor() {
-			public void process(Exchange exchange) throws Exception {
-				exchange.getFault().setBody("fault");
-			}
+            public void process(Exchange exchange) throws Exception {
+                exchange.getFault().setBody("fault");
+            }
         });
         a.expectedMessageCount(1);
         b.expectedMessageCount(0);
         c.expectedMessageCount(1);
         c.expectedBodiesReceived("fault");
-        
+
         template.sendBody("direct:start", "in");
-     
+
         //MockEndpoint.assertIsSatisfied(a, b, c);
     }
 
@@ -76,12 +76,12 @@
             @Override
             public void configure() {
                 from("direct:start")
-                        .to("mock:a")
-                        .choice()
-                            .when(faultBody().isNull())
-                                .to("mock:b")
-                            .otherwise()
-                                .to("mock:c");
+                    .to("mock:a")
+                    .choice()
+                    .when(faultBody().isNull())
+                    .to("mock:b")
+                    .otherwise()
+                    .to("mock:c");
             }
         };
     }



Mime
View raw message