I'm using pubsub with batching and I wan't to be able to drain the queue on 
any pontential messages before the instance shutdown.
Piece of cake I thougt, just call shutdown() in 
LifecycleManager.shutdown(), end of story. However I'm running my instances 
with
autoscaling and there seems to be no way to get a proper callback when the 
servlet container is shutting down.


   - LifecycleManager listener only works with manual and basic instance 
   classes // as per documentation 
   - ServletContextListener.contextDestroy is never invoked by appengine // 
   as per documentation
   - "_ah/stop" is never called on auto scaled instances // as per 
   documentation


Surely there must be a way of getting notified when an instance is about to 
shut down?


-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/912515bf-7f0d-4989-ad98-3a7d83c6d41f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to