[ 
https://issues.apache.org/jira/browse/UIMA-5963?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jerry Cwiklik closed UIMA-5963.
-------------------------------
    Resolution: Fixed

Modified to allow application to customize number of retries and amount of time 
to sleep between retries when application has no tasks

> 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
>            Priority: Major
>             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)

Reply via email to