You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@uima.apache.org by Radwen ANIBA <ar...@gmail.com> on 2010/02/05 13:23:35 UTC

CPM still running after process

Hello,

Well the problem is on the title.

after mCPM.process() the CPM seems to still run.

How to figure out this issue ?

Regards

Rad

Re: CPM still running after process

Posted by Jaroslaw Cwiklik <ui...@gmail.com>.
Rad, the method you are calling - process() is asynchronous. Meaning, the
method starts a thread which begins processing
and immediately returns. The fact that process() returned does not mean the
CPM finished.

Does the CPM call collectionProcessComplete() callback on your listener?
This is done when the processing is completed.

Regards, JC

On Fri, Feb 5, 2010 at 7:23 AM, Radwen ANIBA <ar...@gmail.com> wrote:

> Hello,
>
> Well the problem is on the title.
>
> after mCPM.process() the CPM seems to still run.
>
> How to figure out this issue ?
>
> Regards
>
> Rad
>