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

While handling InvalidMessage UIMA-AS error handler uses wrong API to extract CAS Ref Id

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.2.2AS
    • Async Scaleout
    • None

    Description

      HandlerBase.java method populateErrorContext() uses invalid API to extract a CAS Reference Id from a jms message:

      It calls getMessageIntProperty() insteadof getMessageStringProperty()

      errorContext.add( AsynchAEMessage.CasReference, aMessageCtx.getMessageIntProperty(AsynchAEMessage.CasReference));

      Attachments

        1. uimaj-as-core-UIMA-964-patch.txt
          0.8 kB
          Jaroslaw Cwiklik

        Activity

          People

            schor Marshall Schor
            cwiklik Jaroslaw Cwiklik
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: