directory-api mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kiran Ayyagari <kayyag...@apache.org>
Subject Re: Parsing response control
Date Thu, 14 Jun 2012 12:07:34 GMT
there is an existing syncrepl client implementation in ApacheDS [1]
see if you can reuse it

[1] org.apache.directory.server.ldap.replication.consumer.ReplicationConsumerImpl

On Thu, Jun 14, 2012 at 5:32 PM, Raphaël Ouazana-Sustowski
<raphael.ouazana@linagora.com> wrote:
> Hi,
>
> I'm using ApacheDS API to implement a SyncRepl client.
> When I receive a Response, I get a BasicControlDecorator which decorates an
> OpaqueControl, instead of a SyncStateValueControl.
>
> Reading code, it seems I should load ExtrasBundleActivator, but I don't know
> how I can do that.
> Else I tried:
>
> System.setProperty(
>        StandaloneLdapApiService.DEFAULT_CONTROLS_LIST,
>
>  "org.apache.directory.shared.ldap.extras.controls.syncrepl_impl.SyncStateValueFactory"
>        );
>
> Which has been indicated here:
> http://mail-archives.apache.org/mod_mbox/directory-api/201106.mbox/%3CBANLkTikTTQLfM4eFxtATnzh%2BYFPPXoNQUA%40mail.gmail.com%3E
>
> But this does not seem to work.
>
> How can I get a correctly parsed response control?
>
> Regards,
> Raphaël Ouazana.



-- 
Kiran Ayyagari

Mime
View raw message