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

UIMA-AS: Fix logging in JmsEndpointConnection_impl.send()

    XMLWordPrintableJSON

Details

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

    Description

      Scenario: service tries to send a msg to an endpoint which is no longer valid. It may had been deleted when a client went away. The client uses a temp queue for replies which are transient. If the owner of a temp queue terminates the queue is removed as well.
      If such queue is deleted a service trying to send a msg to it logs the following:

      Jul 27, 2017 11:02:04 AM org.apache.uima.adapter.jms.activemq.JmsEndpointConnection_impl send
      WARNING: Controller: NoOpAnnotator Failed To Send Message to Delegates Queue: null

      It is important for debugging to show the endpoint name which is currently not identified (null).

      The UIMA-AS extended junit test has a testcase which shows this scenario. Run testMultipleSyncClientsRecoveryFromBrokerStopAndRestart and when done grep for:

      NoOpAnnotator Failed To Send Message to Delegates

      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: