Add ShutdownHook to UIMA AS client code
---------------------------------------
Key: UIMA-2060
URL: https://issues.apache.org/jira/browse/UIMA-2060
Project: UIMA
Issue Type: Improvement
Reporter: Jerry Cwiklik
Assignee: Jerry Cwiklik
Priority: Trivial
Fix For: 2.3.1AS
UIMA AS client should detect when its process is terminating and perform
necessary cleanup. Applications using UIMA AS client may not call stop() on the
UIMA AS client and exit, causing an ugly exception on the broker console.
ShutdownHook makes sure that the stop() is always called which closes broker
connection.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira