Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5903DDD24 for ; Thu, 13 Dec 2012 16:40:07 +0000 (UTC) Received: (qmail 27032 invoked by uid 500); 13 Dec 2012 16:40:06 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 26992 invoked by uid 500); 13 Dec 2012 16:40:06 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 26967 invoked by uid 99); 13 Dec 2012 16:40:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Dec 2012 16:40:06 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 216.139.236.26 is neither permitted nor denied by domain of kai.law@gmail.com) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Dec 2012 16:39:59 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1TjBow-0002w6-UX for users@camel.apache.org; Thu, 13 Dec 2012 08:39:38 -0800 Date: Thu, 13 Dec 2012 08:39:38 -0800 (PST) From: lawkai To: users@camel.apache.org Message-ID: <1355416778938-5724048.post@n5.nabble.com> In-Reply-To: References: <1354886750302-5723769.post@n5.nabble.com> <1355068239458-5723803.post@n5.nabble.com> <1355165681851-5723853.post@n5.nabble.com> Subject: Re: camel-quickfix RequestReplyExample java.io.IOException MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi Babak, I have checked out your patch and it seems the exception is gone. However, I have noticed one problem. Please correct me if I am wrong. In the example, I think the original author was trying to transform a http request (via Jetty) into the OrderStatusRequest and routes it (via routingSlip) to MarketOrderStatusService to get an ExecutionReport response. And finally, transform it into Json format and sends it back via http. However, with your patch, the Json response that I got is an OrderStatusRequest instead of an ExecutionReport response. This is output that I got from the log: 2012-12-14 00:15:49,684 [main ] INFO RequestReplyExample - Web request response: "message": { "header": { "BeginString": "FIX.4.2", "BodyLength": 82, "MsgSeqNum": 2, "MsgType": [ "H", "OrderStatusRequest" ], "SenderCompID": "TRADER", "SendingTime": "20121213-16:15:16.107", "TargetCompID": "MARKET" } "body": { "ClOrdID": "XYZ", "OrderID": "abc", "Side": [ "1", "BUY" ], "Symbol": "GOOG" } "trailer": { "CheckSum": "144" } } Is there something we need to change in the route as well? Appreciate your help. -- View this message in context: http://camel.465427.n5.nabble.com/camel-quickfix-RequestReplyExample-java-io-IOException-tp5723769p5724048.html Sent from the Camel - Users mailing list archive at Nabble.com.