Unfortunately, this is currently a limitation for the Play Java API in Play. There is no way in the Java API to get pressure from the client, so it is easy to suppress. This will be fixed in Play 3 when we provide the best threading API for Java clients, possibly based on Akka threads .
If you really need to solve this problem, you can write a small program in Scala based on playlists and then wrap it so that you can access it from your Java program.
source
share