Return-Path: Delivered-To: apmail-camel-users-archive@www.apache.org Received: (qmail 45817 invoked from network); 20 Oct 2009 13:17:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 Oct 2009 13:17:18 -0000 Received: (qmail 36190 invoked by uid 500); 20 Oct 2009 13:17:18 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 36170 invoked by uid 500); 20 Oct 2009 13:17:18 -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 36119 invoked by uid 99); 20 Oct 2009 13:17:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Oct 2009 13:17:11 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of claus.ibsen@gmail.com designates 209.85.220.207 as permitted sender) Received: from [209.85.220.207] (HELO mail-fx0-f207.google.com) (209.85.220.207) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Oct 2009 13:17:00 +0000 Received: by fxm3 with SMTP id 3so5218635fxm.20 for ; Tue, 20 Oct 2009 06:16:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=waUpFnmJLDAKdFnXamwMYjZVZxQoyhpX/h/qS6YHnqU=; b=RA3RkdtskCH2Pk407YdRvQhuqGgA/wX0CSC7K1QeAvXmdT7beGRBzi7DxAd8Waac6m kleFQDY+fGgRvtQRIi8ztbW5GsseMjfoZOM3EAD1jo5tBJKmi2IVAB5FknouYKqGfm0Y oyu/+mjjZi7we7RaJHhYS8GAh0wHWyTCu8k04= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=hFWv2RoBmBkCFiUIqLcKrbclYcskVWqWj7tU2UUTGOK8Cf3ECdlqV+G3gRz+1Pezmh 5oOC05T7V9ss4RyvpwFTdiSPHhGZ67TqwSMeFNvMMaj71MWVfVUySAVaGDs+8JuNN90G +SxHUapw2V1ZgxQ+eoJ3hMS7HXlLjXoHggRCk= MIME-Version: 1.0 Received: by 10.204.152.151 with SMTP id g23mr6392940bkw.148.1256044600109; Tue, 20 Oct 2009 06:16:40 -0700 (PDT) In-Reply-To: <25974866.post@talk.nabble.com> References: <25958657.post@talk.nabble.com> <5380c69c0910190741u53aa5f09j7f58802a21dfe70d@mail.gmail.com> <25959791.post@talk.nabble.com> <5380c69c0910190806jeb7604fha385ba8e5435bb2e@mail.gmail.com> <25960255.post@talk.nabble.com> <5380c69c0910190837ya2c613bj353a86cba86b4af6@mail.gmail.com> <25974866.post@talk.nabble.com> From: Claus Ibsen Date: Tue, 20 Oct 2009 15:16:20 +0200 Message-ID: <5380c69c0910200616i6000a623p8fe729e1ff6f6dc4@mail.gmail.com> Subject: Re: request reply with sql query To: users@camel.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Tue, Oct 20, 2009 at 3:13 PM, linuca wrote: > > Hi, > > I run into another problem. If I run the standalone app of activemq in > another host in my network, it just does no receive the messages. > > 1. I changed "localhost" to the real ip addres. > > ActiveMQConnectionFactory connectionFactory =3D new > ActiveMQConnectionFactory("tcp://192.168.0.1:61616"); > > 2. I made sure that activemq was running. > 3. The tcp port is not blocked by a firewall. > > The error I see in the tomcat log is the following: > > org.apache.camel.RuntimeCamelException: > org.apache.camel.ExchangeTimedOutException: The OUT message was not recei= ved > within: 20000 millis on the exchange: Exchange[JmsMessage: select > =A0* from clients] > =A0 =A0 =A0 =A0at > org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(ObjectHelper= .java:724) > =A0 =A0 =A0 =A0at > org.apache.camel.impl.DefaultProducerTemplate.extractResultBody(DefaultPr= oducerTemplate.java:334) > =A0 =A0 =A0 =A0at > org.apache.camel.impl.DefaultProducerTemplate.sendBody(DefaultProducerTem= plate.java:98) > =A0 =A0 =A0 =A0at > org.apache.camel.impl.DefaultProducerTemplate.sendBody(DefaultProducerTem= plate.java:113) > =A0 =A0 =A0 =A0at > org.apache.camel.impl.DefaultProducerTemplate.requestBody(DefaultProducer= Template.java:176) > > It works if it is in the same localhost. > Any ideas? > -- Look at the logs on the server. It doesnt send a response back (on that temporary jms queue). Could be some exception happening on the server. > View this message in context: http://www.nabble.com/request-reply-with-sq= l-query-tp25958657p25974866.html > Sent from the Camel - Users (activemq) mailing list archive at Nabble.com= . > > --=20 Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus