Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-5963

UIMA-DUCC: parameterize client protocol handler retry timeout

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-Ducc
    • DUCC
    • None

    Description

      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";

       

      Attachments

        Activity

          People

            cwiklik Jaroslaw Cwiklik
            cwiklik Jaroslaw Cwiklik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: