When the {{terminateABLSession }} JMX query is called, a terminate option may be provided.
terminateABLSession JMX query: {"O":"PASOE:type=OEManager,name=AgentManager","M":["terminateABLSession","<agentID>",<agentSessionID>,<terminateOption>]}
If this is 0, then the session is terminated with a trappable stop - a Progress.Lang.StopError is raised. This may be caught and dealt with by the application.
However, there is no way of knowing that this error was caused by the JMX query being called, and this makes it impossible to act upon that fact. So if an application wanted to catch stops, but allow this kind of stop to proceed, could not. |