[
https://issues.apache.org/jira/browse/UIMA-1073?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jerry Cwiklik updated UIMA-1073:
--------------------------------
Attachment: uimaj-as-activemq-proxy-UIMA-1073-patch.txt
Modify uima-as proxy code to implement UimaASStatusCallbackListener interface.
The UIma-as client notifies the proxy when a cpc reply is returned from the
service. The proxy blocks in the collectionProcessingComplete() method until
the callback is made. This change makes the call to
collectionProcessingComplete() synchronous.
> Modify UIMA-AS proxy code to make the collectionProcessingComplete a
> synchronous call
> -------------------------------------------------------------------------------------
>
> Key: UIMA-1073
> URL: https://issues.apache.org/jira/browse/UIMA-1073
> Project: UIMA
> Issue Type: Bug
> Components: Async Scaleout
> Reporter: Jerry Cwiklik
> Fix For: 2.2.2AS
>
> Attachments: uimaj-as-activemq-proxy-UIMA-1073-patch.txt
>
>
> Current uima-as proxy code for CPC is asynchronous. The client using the
> proxy calls CPC and does not wait for reply from the service. The proxy must
> implement UimaASStatusCallbackListener interface and register self with the
> UIMA-AS client. The client will notify the proxy via a callback when the CPC
> reply comes back from the uima-as service. Synchronize the CPC code and force
> it to wait for the reply.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.