Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 59857 invoked from network); 11 Nov 2010 16:12:29 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 11 Nov 2010 16:12:29 -0000 Received: (qmail 56716 invoked by uid 500); 11 Nov 2010 16:13:00 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 56649 invoked by uid 500); 11 Nov 2010 16:13:00 -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 Received: (qmail 56641 invoked by uid 99); 11 Nov 2010 16:12:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Nov 2010 16:12:59 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of claus.ibsen@gmail.com designates 209.85.216.45 as permitted sender) Received: from [209.85.216.45] (HELO mail-qw0-f45.google.com) (209.85.216.45) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Nov 2010 16:12:53 +0000 Received: by qwf6 with SMTP id 6so2085721qwf.32 for ; Thu, 11 Nov 2010 08:12:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=4L5T3nM0Fm8a+xu49jAQsf6FAO/cshnye5vTz5VIeBw=; b=aPK/YQprA1no5KpVHh0SrRTcZDF4A8YyHPjvFJg6jPhqx05PkEKBH6obT7udmEu5S8 u70IkXGV0TtC6w/hg4s+/fYvdGcdp6Ai6KKT1S0eVWi8IhTS6xRUj8bspBJqKWWN/MGS J3NN60/+vq3q5MtGfeKnKxpU7EXLwNdDyt7Vk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=ZzM2iQHbAfeCvH0FhTTLPi06Xau+JNHmjdAdOpDMuJIkhwABQ5qWcxAcfR8dovNbYz ITeLdmIMDY4k3tSkjfYgct0p7JxoHn07E1RtujKHwiupzK3dmS+RVQW0Dtt+hEJ46zCI JYKPryyZl/tZqdOhRz6gohAh4602ZeGV0vl/8= Received: by 10.229.96.130 with SMTP id h2mr873380qcn.284.1289491952771; Thu, 11 Nov 2010 08:12:32 -0800 (PST) MIME-Version: 1.0 Received: by 10.229.225.15 with HTTP; Thu, 11 Nov 2010 08:12:11 -0800 (PST) In-Reply-To: <79A7F07009E96B438F3BA0E4CE16E1DE6D3F6E@de-ex012.groupinfra.com> References: <79A7F07009E96B438F3BA0E4CE16E1DE6D3F6E@de-ex012.groupinfra.com> From: Claus Ibsen Date: Thu, 11 Nov 2010 17:12:11 +0100 Message-ID: Subject: Re: LDAP Component To: dev@camel.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi Georg Welcome to the Camel community. On Thu, Nov 11, 2010 at 4:40 PM, Henzler, Georg wrote: > Hi all, > > > > I've written a user sync module that uses Camel and its LDAP Component. I= ran into the problem ("Ldap error 4 Size Limit Exceeded") that is caused b= y the fact that the current LDAP module doesn't support paging (and =A0I co= uldn't change the server configuration either). As a workaround I created m= y own Camel component "pagedLdap" (I just could have written a POJO but I t= hought it's nicer that way being able to use a meaningful endpoint URL). Th= e system is now in production and works smoothly. > > > > So now I would like to give my code back to the community: I could improv= e the LDAP component in a way that if a pageSize parameter is given in the = URL, it uses the class PagedResultsControl (Part of the JDK since 1.5, so w= e don't have a new dependency here). If the pageSize isn't given nothing wo= uld be changed and it wouldn't break any existing code. And obviously I wou= ld update the documentation =A0J > > > > Are you interested? > > Ah perfect we love contributions. http://camel.apache.org/contributing.html So please go forward and implement this feature and submit a patch to the JIRA ticket. > > Best Regards > > Georg > > > > PS I also created a JIRA issue for this: https://issues.apache.org/active= mq/browse/CAMEL-3329 > > > > > > Georg Henzler | Solutions Architect, Practice Champion EJS > Nockherstrasse 2-4, 81541 M=FCnchen | Germany > M:+49 178 8866 190 > > georg.henzler@logica.com | www.logica.de > Logica Deutschland GmbH & Co. KG > > Zettachring 4, 70567 Stuttgart; Amtsgericht Stuttgart HRA 722072 > > Pers=F6nlich haftender Gesellschafter: Logica Deutschland Verwaltungs Gmb= H > > Gesch=E4ftsf=FChrer: Torsten Stra=DF (Vors.) | Steven Blythe | Eric Guyot= | Olaf Scholz | Oliver Starzonek | Dr. Alexander Wurdack > > Handelsregister: AG Stuttgart HRB 724084 > > > > > > Please help Logica to respect the environment by not printing this email = =A0/ Pour contribuer comme Logica au respect de l'environnement, merci de n= e pas imprimer ce mail / =A0Bitte drucken Sie diese Nachricht nicht aus und= helfen Sie so Logica dabei, die Umwelt zu sch=FCtzen. / =A0Por favor ajude= a Logica a respeitar o ambiente nao imprimindo este correio electronico. > > > > This e-mail and any attachment is for authorised use by the intended reci= pient(s) only. It may contain proprietary material, confidential informatio= n and/or be subject to legal privilege. It should not be copied, disclosed = to, retained or used by, any other party. If you are not an intended recipi= ent then please promptly delete this e-mail and any attachment and all copi= es and inform the sender. Thank you. > > --=20 Claus Ibsen ----------------- FuseSource Email: cibsen@fusesource.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/