In version 5.0 the Java DSL will always create NIO connection factories regardless of which type you specified.