[ https://issues.apache.org/jira/browse/UIMA-1616?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bhavani Iyer updated UIMA-1616: ------------------------------- Attachment: UIMA-1616.patch Modified quiesceAndStop() method to send a QUIESCEANDSTOP request to the C++ service. This requires the patch in UIMA-1617 which modifies the C++ service wrapper to process this request type. The C++ service wrapper will call the JMS Connection stop() method to stop dispatch of new messages and allow the processing threads to complete current work before shutting down the service. A QUIESCEANDSTOP request is initiated when a 'q' is entered at the command prompt or service is shutdown with CTRL C. The controller waits for an quiesce done response from the service. This patch also modifies the UimacppServiceController shutdown() api which is used to stop the service immediately to wait for acknowledgment from the service that shutdown was initiated. > Add ability to quiesce C++ service before shutdown > -------------------------------------------------- > > Key: UIMA-1616 > URL: https://issues.apache.org/jira/browse/UIMA-1616 > Project: UIMA > Issue Type: Bug > Components: Async Scaleout > Reporter: Bhavani Iyer > Assignee: Bhavani Iyer > Attachments: UIMA-1616.patch > > > Need the ability to ask a C++ services to complete the current work before > shutting down. Undeploying a service should not result in loss of work. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.