FIY using TransportClient in Wildfly context listeners work like a charm, when close() method on client is called in contextDestroyed().
Jörg On Tue, Apr 8, 2014 at 3:40 AM, AlexR <[email protected]> wrote: > I am not sure it can be done with context listeners particularity when > shutting down tomcat. I do not believe it will wait for listeners to > complete - they are fired asynchronously and tomcat exits without waiting > but I am not positive of that. I was going to test it but have not had a > chance > > -- > You received this message because you are subscribed to the Google Groups > "elasticsearch" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/32e14429-d24a-42c6-9045-9682087c2170%40googlegroups.com > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAKdsXoHMeYFpMnjZ%3D7q0TL-h3f19DmnBBDao20Lz4A%2BhuWu1bw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
