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 81917105AF for ; Wed, 14 Aug 2013 15:37:30 +0000 (UTC) Received: (qmail 47410 invoked by uid 500); 14 Aug 2013 15:37:30 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 47193 invoked by uid 500); 14 Aug 2013 15:37:27 -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 47179 invoked by uid 99); 14 Aug 2013 15:37:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Aug 2013 15:37:25 +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 (athena.apache.org: transitioning domain of johnzyin@gmail.com does not designate 216.139.236.26 as permitted sender) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Aug 2013 15:37:20 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1V9d88-00072K-E7 for users@camel.apache.org; Wed, 14 Aug 2013 08:37:00 -0700 Date: Wed, 14 Aug 2013 08:37:00 -0700 (PDT) From: bocamel To: users@camel.apache.org Message-ID: <1376494620419-5737262.post@n5.nabble.com> Subject: Where can I find an example of specifying a custom resequence comparator in Spring MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I try to keep all my routes in Spring, but I cannot find any example about how to define the following in Spring: .resequence(header("seqnum")).stream().capacity(500).timeout(10000).comparator(myComparator) or .resequence(header("seqnum")).stream(myConfig) where myComparator is a custom ExpressionResultComparator and myConfig is a custom StreamResequencerConfig. The online Spring XML examples that I can find do not include custom comparator and config. I would greatly appreciate it if someone can point me to an example. Thanks in advance for any help! -- View this message in context: http://camel.465427.n5.nabble.com/Where-can-I-find-an-example-of-specifying-a-custom-resequence-comparator-in-Spring-tp5737262.html Sent from the Camel - Users mailing list archive at Nabble.com.