Return-Path: X-Original-To: apmail-camel-commits-archive@www.apache.org Delivered-To: apmail-camel-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6436AEA48 for ; Fri, 14 Dec 2012 14:02:45 +0000 (UTC) Received: (qmail 84597 invoked by uid 500); 14 Dec 2012 14:02:45 -0000 Delivered-To: apmail-camel-commits-archive@camel.apache.org Received: (qmail 84521 invoked by uid 500); 14 Dec 2012 14:02:43 -0000 Mailing-List: contact commits-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list commits@camel.apache.org Received: (qmail 84513 invoked by uid 99); 14 Dec 2012 14:02:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Dec 2012 14:02:43 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Dec 2012 14:02:42 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 5C5DF2388906; Fri, 14 Dec 2012 14:02:22 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1421866 - in /camel/branches/camel-2.10.x: ./ components/camel-quickfix/src/test/java/org/apache/camel/component/quickfixj/examples/RequestReplyExample.java Date: Fri, 14 Dec 2012 14:02:22 -0000 To: commits@camel.apache.org From: bvahdat@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20121214140222.5C5DF2388906@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: bvahdat Date: Fri Dec 14 14:02:21 2012 New Revision: 1421866 URL: http://svn.apache.org/viewvc?rev=1421866&view=rev Log: Merged revisions 1421864 via svnmerge from https://svn.apache.org/repos/asf/camel/trunk ........ r1421864 | bvahdat | 2012-12-14 14:59:57 +0100 (Fr, 14 Dez 2012) | 1 line CAMEL-5861: Polished. ........ Modified: camel/branches/camel-2.10.x/ (props changed) camel/branches/camel-2.10.x/components/camel-quickfix/src/test/java/org/apache/camel/component/quickfixj/examples/RequestReplyExample.java Propchange: camel/branches/camel-2.10.x/ ------------------------------------------------------------------------------ Merged /camel/trunk:r1421864 Propchange: camel/branches/camel-2.10.x/ ------------------------------------------------------------------------------ Binary property 'svnmerge-integrated' - no diff available. Modified: camel/branches/camel-2.10.x/components/camel-quickfix/src/test/java/org/apache/camel/component/quickfixj/examples/RequestReplyExample.java URL: http://svn.apache.org/viewvc/camel/branches/camel-2.10.x/components/camel-quickfix/src/test/java/org/apache/camel/component/quickfixj/examples/RequestReplyExample.java?rev=1421866&r1=1421865&r2=1421866&view=diff ============================================================================== --- camel/branches/camel-2.10.x/components/camel-quickfix/src/test/java/org/apache/camel/component/quickfixj/examples/RequestReplyExample.java (original) +++ camel/branches/camel-2.10.x/components/camel-quickfix/src/test/java/org/apache/camel/component/quickfixj/examples/RequestReplyExample.java Fri Dec 14 14:02:21 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); } }