How do I use SRV url from mongodb atlas in Java Play Project

We were using m-lab previously, since mongodb is pushing everyone towards atlas. How do I use new SRV URL in my project.

I already spent more that 3 hours on research couldn’t find anything useful.

Any help would be much appreciated :slight_smile:

Are you using some ORM?