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?

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.

Thanks for any insights.

--
Radovan Semancik
Software Architect
evolveum.com


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org
For additional commands, e-mail: dev-h...@directory.apache.org

Reply via email to