You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Jerry Cwiklik (JIRA)" <de...@uima.apache.org> on 2017/07/27 15:19:00 UTC

[jira] [Created] (UIMA-5512) UIMA-AS: Fix logging in JmsEndpointConnection_impl.send()

Jerry Cwiklik created UIMA-5512:
-----------------------------------

             Summary: UIMA-AS: Fix logging in JmsEndpointConnection_impl.send()
                 Key: UIMA-5512
                 URL: https://issues.apache.org/jira/browse/UIMA-5512
             Project: UIMA
          Issue Type: Bug
          Components: Async Scaleout
            Reporter: Jerry Cwiklik
            Assignee: Jerry Cwiklik
             Fix For: 2.10.0AS


Scenario: service tries to send a msg to an endpoint which is no longer valid. It may have been deleted if a client goes 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






--
This message was sent by Atlassian JIRA
(v6.4.14#64029)