UIMA-AS client is blocking - Apache Uima General
Pierre, after code review I dont think that this is a bug after all. The
code does what it supposed to do in this case. The only problem is the
documentation which needs to clear define application responsibility on
exception when using sendCAS(). The UIMA AS framework code throws an
Exception and the application must catch it and release a CAS before
continuing. As noted you already have this working.
Exceptions can be thrown by the framework at any point *before* a CAS is
handed over to a dedicated dispatch thread. Before the CAS is handed over,
all processing including serialization happens in a user thread. Any
problems that occur in a dispatch thread are reported to an application via
registered callback listener.
Read full article from UIMA-AS client is blocking - Apache Uima General
Pierre, after code review I dont think that this is a bug after all. The
code does what it supposed to do in this case. The only problem is the
documentation which needs to clear define application responsibility on
exception when using sendCAS(). The UIMA AS framework code throws an
Exception and the application must catch it and release a CAS before
continuing. As noted you already have this working.
Exceptions can be thrown by the framework at any point *before* a CAS is
handed over to a dedicated dispatch thread. Before the CAS is handed over,
all processing including serialization happens in a user thread. Any
problems that occur in a dispatch thread are reported to an application via
registered callback listener.
Read full article from UIMA-AS client is blocking - Apache Uima General
No comments:
Post a Comment