SNMP4J 3.10.0 Release

SNMP4J v3.10.0 has been released on 2026-04-19T22:00:00Z providing support for graceful shutdown of TCP connections using DefaultTcpTransportMapping.

CHANGES

  • Added: DefaultTcpTransportMapping.setGracefulShutdownTimeout(int gracefulShutdownTimeout) to allow setting the graceful shutdown timeout for TCP transport mappings. If >0 the TCP transport mapping will wait for the specified number of milliseconds for all pending messages to be sent and processed before closing first the oubound and then (after the timeout) the inbound connection.
  • Changed: Added WorkerTask.join(long timeoutMillis) to allow waiting for a worker task to finish no longer than a specified timeout.
  • Fixed: SNMP4JSettings.getThreadJoinTimeout() did not return the configured timeout (60000) at the time the default ThreadFactory for SNMP4JSettings was created. Instead, 0 was returned.
  • Fixed: DefaultTcpTransportMappingTest.testReconnectUnderLoad did not close client TCP transport mappings after the test.

Note: This is a repost, because the original post got lost during a hardware change which was necessary due to a failed OS update.