UIMA
  1. UIMA
  2. UIMA-2479

Modify UIMA-AS JMS Listener to Allow Incoming CAS While The Listener is Stopping

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4.0AS
    • Component/s: Async Scaleout
    • Labels:
      None

      Description

      When in quiesce mode, the UIMA-AS service stops its jms listeners to prevent more CASes from coming in. In a rare event when the listener is told to stop, it may actually may be reading a message from its queue. In such case, the jms listener rejects the message. This effectively results in a message loss. The listener should allow the message to be processed instead. There is an API which allows for programmatic override of the default behavior acceptMessagesWhileStopping(true/false). The UIMA-AS code should change the setting to true to allow the message while the listener is stopping.

        Activity

        Hide
        Jerry Cwiklik added a comment -

        Allow jms listener to process incoming msg while in stopping state

        Show
        Jerry Cwiklik added a comment - Allow jms listener to process incoming msg while in stopping state

          People

          • Assignee:
            Jerry Cwiklik
            Reporter:
            Jerry Cwiklik
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development