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 54465174BD for ; Tue, 28 Oct 2014 13:10:02 +0000 (UTC) Received: (qmail 83920 invoked by uid 500); 28 Oct 2014 13:10:01 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 83883 invoked by uid 500); 28 Oct 2014 13:10:01 -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 Delivered-To: moderator for users@camel.apache.org Received: (qmail 90686 invoked by uid 99); 28 Oct 2014 12:29:46 -0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of sandeepreddip@gmail.com does not designate 216.139.236.26 as permitted sender) Date: Tue, 28 Oct 2014 05:29:18 -0700 (PDT) From: sandp To: users@camel.apache.org Message-ID: <1414499358832-5758215.post@n5.nabble.com> Subject: camel-jms consumer 2.14.0 replyTo 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'm trying to replyto a temporary HornetQ queue for every message produced and consumed. I send a message to a *queue *with exchange pattern as InOut on a timer endpint. There is a *consumer with InOut pattern* for the queue that consumes, processes the message and sends it back to the same queue. What I'm trying to do is to have a replyTo temporary queue for every message produced and consumed. Increasing the timeout is resulting in the same ExchangeTimedOutException as well. I tried several ways but facing issues. I'm sure I'm missing something fundamental. Appreciate a reply. ======Exception========== org.apache.camel.ExchangeTimedOutException: The OUT message was not received within: 20000 millis due reply message with correlationID: from("timer:foo?period=1200000000") .process(new CamelMessageProcessor()) .to("direct:sendMessageToQueue") .end(); ====Producer====== from("direct:sendMessageToQueue") .to(*ExchangePattern.InOut*,"jms:queue:ctsCamelQueue?concurrentConsumers=5&timeToLive={{message.time.to.live}}") .end(); ====Consumer====== from("jms:queue:ctsCamelQueue?transacted=false&requestTimeout=60000").setExchangePattern(ExchangePattern.InOut) //some process .to("direct:sendMessageToQueue") end(); -- View this message in context: http://camel.465427.n5.nabble.com/camel-jms-consumer-2-14-0-replyTo-tp5758215.html Sent from the Camel - Users mailing list archive at Nabble.com.