uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jerry Cwiklik (JIRA)" <...@uima.apache.org>
Subject [jira] [Created] (UIMA-2228) UIMA AS doesn't expose CAS instance in onBeforeMessageSend() callback
Date Wed, 21 Sep 2011 17:53:08 GMT
UIMA AS doesn't expose CAS instance in onBeforeMessageSend() callback
---------------------------------------------------------------------

                 Key: UIMA-2228
                 URL: https://issues.apache.org/jira/browse/UIMA-2228
             Project: UIMA
          Issue Type: Bug
          Components: Async Scaleout
            Reporter: Jerry Cwiklik
            Assignee: Jerry Cwiklik
            Priority: Minor
             Fix For: 2.3.2AS


UIMA AS client sendAndReceive() blocks a thread until either a reply is received or there
is a timeout. If an application uses multiple threads each blocked in sendAndReceive(), there
is no way for an application to correlate onBeforeMessageSend() and onBeforeProcessCAS() callbacks
to a specific CAS. The callbacks only expose cas reference Id, which (in this scenario) does
not help since the cas reference id is only available when sendAndReceive() returns. Modify
UIMA AS to expose CAS instance when calling onBeforeMessageSend() and onBeforeProcessCAS().
The CAS will be available via a new getCAS() method defined in UimaASProcessStatus which is
an argument in both callbacks.


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message