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-5755) UIMA-DUCC: Pull service should echo correlation id in ACK and END msgs
Date Tue, 03 Apr 2018 20:28:00 GMT
Jerry Cwiklik created UIMA-5755:
-----------------------------------

             Summary: UIMA-DUCC: Pull service should echo correlation id in ACK and END msgs
                 Key: UIMA-5755
                 URL: https://issues.apache.org/jira/browse/UIMA-5755
             Project: UIMA
          Issue Type: New Feature
          Components: DUCC
            Reporter: Jerry Cwiklik
            Assignee: Jerry Cwiklik
             Fix For: 2.2.3-Ducc


Pull service uses three-way protocol to communicate with its client/driver. It sends GET,
followed by ACK and END. The GET asks the client for a task (CAS), the ACK confirms service
receipt of it, and END indicates the task completion.

To complete a task, a client needs a correlation Id to locate the task in its database. Modify
the protocol handler API to allow for user code to attach the correlation ID and include it
in a reply. Perhaps the best place is the HttpResponse header. The pull service should echo
this correlation Id in subsequent ACK and END messages. This time by attaching it to HttpRequest
header.

Modify TAS TaskConsumer class to include correlationId.

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message