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 A6C28DB5E for ; Wed, 12 Sep 2012 13:58:02 +0000 (UTC) Received: (qmail 93495 invoked by uid 500); 12 Sep 2012 13:58:02 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 93433 invoked by uid 500); 12 Sep 2012 13:58: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 57417 invoked by uid 99); 12 Sep 2012 13:50:24 -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 balkishore.pandey@gmail.com) Date: Wed, 12 Sep 2012 06:49:57 -0700 (PDT) From: balkishore To: users@camel.apache.org Message-ID: <1347457797691-5719192.post@n5.nabble.com> Subject: How to make Apache camel to search an expression in SOAP response. MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I am caught in this problem for a while now and am not able to figure out how to solve it. I have a client that sends a SOAP request and gets a SOAP response from the servers. I have written a wrote to do a sticky load balance: from(uri) .loadBalance().sticky(xpath(query2)) .to(BE1,BE2); If i am not wrong xpath is performed to the first request recieved. The problem here is my request does not contains the ServiceGroupID(session id, to be used to do sticky load balancing), but my response does. Due to which sticky load balancing is not being performed as desired and the request are not passed to the same backend server. How can I make camel to search and perform the xpath on the response instead of request. I would be really glad if someone can help me. I did not find any thing regarding this on the Internet and on camel in action book. -- View this message in context: http://camel.465427.n5.nabble.com/How-to-make-Apache-camel-to-search-an-expression-in-SOAP-response-tp5719192.html Sent from the Camel - Users mailing list archive at Nabble.com.