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 3EFCD17C19 for ; Sun, 5 Apr 2015 16:05:58 +0000 (UTC) Received: (qmail 64743 invoked by uid 500); 5 Apr 2015 16:05:57 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 64691 invoked by uid 500); 5 Apr 2015 16:05:57 -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 64680 invoked by uid 99); 5 Apr 2015 16:05:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 Apr 2015 16:05:57 +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 (nike.apache.org: transitioning domain of begorrah@gmail.com does not designate 162.253.133.43 as permitted sender) Received: from [162.253.133.43] (HELO mwork.nabble.com) (162.253.133.43) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 Apr 2015 16:05:32 +0000 Received: from msam.nabble.com (unknown [162.253.133.85]) by mwork.nabble.com (Postfix) with ESMTP id 6A57219CFA7D for ; Sun, 5 Apr 2015 09:04:55 -0700 (PDT) Date: Sun, 5 Apr 2015 09:04:30 -0700 (MST) From: begorrah To: users@camel.apache.org Message-ID: <1428249870039-5765345.post@n5.nabble.com> Subject: Request reply route is returning the request 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 having some problems with my first ever Camel route. First, some versions. I'm using Camel version 2.15.0 in a Spring Boot + Groovy application and I'm currently running on OSX with a 1.8 JVM. The route is defined as follows: Most of the route is working correctly: - the route gets started properly - the splitting works fine - the JMS queue works fine - I see the messages being handled and responded to correctly in the JMS consumer (implemented in a different process) - the aggregation seems to work fine also I'm invoking the route as follows: The problem is that the value returned from is the original request message instead of the aggregated response. If I add enhance the end of the route with a call to one of my own beans as follows: then I can see in the implementation of processBotReplies (which has this signature: that the list being passed in really is the correct response. But why is the return value from not also the response? Any help, thoughts, advice, etc appreciated. Cheers, /BG -- View this message in context: http://camel.465427.n5.nabble.com/Request-reply-route-is-returning-the-request-tp5765345.html Sent from the Camel - Users mailing list archive at Nabble.com.