When upgrading the mongo java driver to 3.4.2 the spring mongo dependency was updated to 1.10. The xml configuration doesn't have an attribute for auto-connect-retry to be set to true.Is there an alternative for that.
<mongo:client-options connections-per-host="10" threads-allowed-to-block-for-connection-multiplier="10"
connect-timeout="1000" max-wait-time="1500" read-preference="PRIMARY"
socket-keep-alive="true" socket-timeout="1500"/>