There is a ticket for this: https://github.com/akka/akka/issues/15945
What I am currently doing in my test code is to store the Http.ServerBinding (which now implements AutoCloseable) in the actor and call close on it if I want to get rid of the server binding. I am not sure if this is the recommended/most elegant way to do it, but it seems to work. On Thu, Nov 13, 2014 at 5:15 PM, Joe Edwards <joeyedward...@googlemail.com> wrote: > Spray 1.3.1 provided an 'Unbind' feature, which allowed you to unbind from > the port and (crucially) wait for existing requests to complete. See > https://groups.google.com/forum/#!searchin/spray-user/bradley/spray-user/Sfh8x5yWibU/JAqWyOKnaj0J > > Is there an equivalent feature in akka-http? (I am currently using > akka-http-experimental 0.10) > > If not, is this something that is anticipated soon? > > Thanks. > > -- >>>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>>> Check the FAQ: >>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html >>>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user > --- > You received this message because you are subscribed to the Google Groups > "Akka User List" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to akka-user+unsubscr...@googlegroups.com. > To post to this group, send email to akka-user@googlegroups.com. > Visit this group at http://groups.google.com/group/akka-user. > For more options, visit https://groups.google.com/d/optout. -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to akka-user+unsubscr...@googlegroups.com. To post to this group, send email to akka-user@googlegroups.com. Visit this group at http://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.