Jerry Cwiklik created UIMA-5963:
-----------------------------------
Summary: UIMA-DUCC: parameterize client protocol handler retry
timeout
Key: UIMA-5963
URL: https://issues.apache.org/jira/browse/UIMA-5963
Project: UIMA
Issue Type: Improvement
Components: DUCC
Reporter: Jerry Cwiklik
Assignee: Jerry Cwiklik
Fix For: 2.2.3-Ducc
Currently, the client's protocol handler retry code which handles no tasks
available scenario uses hard coded values for retry count and wait time between
retries. Both of these params should be configurable by an application.
Both the DuccServiceDriver and DuccServiceProtocolHandler expose initialize()
method with a single param of type Properties. Through this interface an
application can pass in both properties using new property names defined in
ServiceDriver class:
public static String DriverTaskRetryCount = "driver.task.retry.count";
public static String DriverTaskWaitTime = "driver.task.wait.time.millis";
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)