On 8/2/21 5:08 PM, Radovan Semancik wrote:
> Hello,
> 
> I would like to implement support for setting TCP keepalive
> time/interval/retry setting in the API. This is very useful for
> long-lived LDAP connections, e.g. in case of connection pooling.
> However, socket options for TCP keepalive time/interval/retry setting is
> available since Java 11 (see class ExtendedSocketOptions).
> 
> Now I'm a bit confused regarding Maven configuration. The directory API
> has properties for Java 8 in pom.xml:
> 
>     <maven.compiler.source>1.8</maven.compiler.source>
>     <maven.compiler.target>1.8</maven.compiler.target>
> 
> Yet, I would guess that otherwise we are on Java 11. Am I right? What
> Java version we are actually supposed to run on?

For Studio we dropped Java 8 support early this year, all other
sub-projects are still compatible with Java 8. At some point we might
drop Java 8 support too for all the other sub-projects. Feel free to
open the discussion :)

> Then, it looks like MINA is stuck back in Java 7 world. I had a look at
> MINA source code (again) ... I'm not that well versed in MINA, yet it
> looks like there is no obvious way how to use Java 11
> ExtendedSocketOptions in MINA (and hence Directory API).
> 
> Am I right? This would be quite unfortunate, being stuck with
> 10-year-old Java version. What would be the right thing to do here to
> get API completely to Java 11 world? I'm trying to assess the required
> effort, whether it would be feasible for us to do the work.

I think you need to wait for Emmanuel, or ask the MINA people directly.

Kind Regards,
Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to