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 999931056B for ; Thu, 24 Oct 2013 07:07:42 +0000 (UTC) Received: (qmail 24903 invoked by uid 500); 24 Oct 2013 07:07:40 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 24600 invoked by uid 500); 24 Oct 2013 07:07:39 -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 24591 invoked by uid 99); 24 Oct 2013 07:07:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Oct 2013 07:07:37 +0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of contactreji@gmail.com does not designate 216.139.236.26 as permitted sender) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Oct 2013 07:07:32 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1VZF0h-0004tK-Mc for users@camel.apache.org; Thu, 24 Oct 2013 00:07:11 -0700 Date: Thu, 24 Oct 2013 00:07:11 -0700 (PDT) From: contactreji To: users@camel.apache.org Message-ID: <1382598431694-5742116.post@n5.nabble.com> In-Reply-To: <1382596156012-5742113.post@n5.nabble.com> References: <1382358431046-5741975.post@n5.nabble.com> <1382438595490-5742025.post@n5.nabble.com> <1382596156012-5742113.post@n5.nabble.com> Subject: Re: ActiveMq-InOut: save exchange body 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 I had similar error while working with a webservice. The error was Timeout occurred after 20000 millis waiting for reply message My code was like And it gave the above error I change it to ** which indeed solved my problem! This usually occurs when the MEP is INOUT. If you keep INOUT, make sure you have the camel exchange in the last component of the route some valid value which can be returned back. (Am talking from web service perspective) It can be resolved by changing the MEP from INOUT to INONLY. Cheers Reji -- View this message in context: http://camel.465427.n5.nabble.com/ActiveMq-InOut-save-exchange-body-tp5741975p5742116.html Sent from the Camel - Users mailing list archive at Nabble.com.