Return-Path: X-Original-To: apmail-camel-dev-archive@www.apache.org Delivered-To: apmail-camel-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1D22A99C0 for ; Mon, 2 Apr 2012 11:16:51 +0000 (UTC) Received: (qmail 93631 invoked by uid 500); 2 Apr 2012 11:16:50 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 93594 invoked by uid 500); 2 Apr 2012 11:16:50 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Delivered-To: moderator for dev@camel.apache.org Received: (qmail 51821 invoked by uid 99); 2 Apr 2012 06:27:41 -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 (athena.apache.org: 216.139.236.26 is neither permitted nor denied by domain of ramyasri.mit@gmail.com) Date: Sun, 1 Apr 2012 23:27:15 -0700 (PDT) From: Samruben To: dev@camel.apache.org Message-ID: <1333348035830-5611606.post@n5.nabble.com> Subject: way to implement usecase 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 am new to camel. I have a use case, I need some suggestions and best way to implement it. I have some data in database which has some header values as jxpath expression. I need to validate it using filter. eg: jxpath //books/value>600 But in camel, the filter always comes with camel component, but i need to a separate filter method in my simple java class. I need to pass the filter value to the filter method which must validate it using jxpath expression filter and return it as boolean value (using predicate concept ) eg: filter value --> value>600 Any suggestion will be heplful for me. Regards, Sam -- View this message in context: http://camel.465427.n5.nabble.com/way-to-implement-usecase-tp5611606p5611606.html Sent from the Camel Development mailing list archive at Nabble.com.