camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bvah...@apache.org
Subject svn commit: r1421864 - /camel/trunk/components/camel-quickfix/src/test/java/org/apache/camel/component/quickfixj/examples/RequestReplyExample.java
Date Fri, 14 Dec 2012 13:59:59 GMT
Author: bvahdat
Date: Fri Dec 14 13:59:57 2012
New Revision: 1421864

URL: http://svn.apache.org/viewvc?rev=1421864&view=rev
Log:
CAMEL-5861: Polished.

Modified:
    camel/trunk/components/camel-quickfix/src/test/java/org/apache/camel/component/quickfixj/examples/RequestReplyExample.java

Modified: camel/trunk/components/camel-quickfix/src/test/java/org/apache/camel/component/quickfixj/examples/RequestReplyExample.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-quickfix/src/test/java/org/apache/camel/component/quickfixj/examples/RequestReplyExample.java?rev=1421864&r1=1421863&r2=1421864&view=diff
==============================================================================
--- camel/trunk/components/camel-quickfix/src/test/java/org/apache/camel/component/quickfixj/examples/RequestReplyExample.java
(original)
+++ camel/trunk/components/camel-quickfix/src/test/java/org/apache/camel/component/quickfixj/examples/RequestReplyExample.java
Fri Dec 14 13:59:57 2012
@@ -24,7 +24,7 @@ import java.util.UUID;
 import java.util.concurrent.CountDownLatch;
 import java.util.concurrent.TimeUnit;
 
-import org.apache.camel.Body;
+import org.apache.camel.CamelContext;
 import org.apache.camel.Exchange;
 import org.apache.camel.Header;
 import org.apache.camel.builder.RouteBuilder;
@@ -66,7 +66,7 @@ public class RequestReplyExample {
     }
     
     public void run() throws Exception {        
-        DefaultCamelContext context = new DefaultCamelContext();
+        final CamelContext context = new DefaultCamelContext();
         final CountDownLatch logonLatch = new CountDownLatch(1);
         final String orderStatusServiceUrl = "http://localhost:9123/order/status";
         
@@ -170,7 +170,7 @@ public class RequestReplyExample {
     }
     
     public static class FixSessionRouter {
-        public String route(@Header("sessionID") String sessionID, @Body Object body) {
+        public String route(@Header("sessionID") String sessionID) {
             return String.format("quickfix:examples/inprocess.cfg?sessionID=%s", sessionID);
         }
     }



Mime
View raw message