You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Rajith Attapattu (JIRA)" <ji...@apache.org> on 2012/10/04 23:03:47 UTC

[jira] [Created] (QPID-4357) If an exception is received while the client is blocked on sync, the client should return immediately rather than timing out.

Rajith Attapattu created QPID-4357:
--------------------------------------

             Summary: If an exception is received while the client is blocked on sync, the client should return immediately rather than timing out.
                 Key: QPID-4357
                 URL: https://issues.apache.org/jira/browse/QPID-4357
             Project: Qpid
          Issue Type: Bug
          Components: Java Client
    Affects Versions: 0.18, 0.16, 0.14, 0.12, 0.10
            Reporter: Rajith Attapattu
            Assignee: Rajith Attapattu
             Fix For: 0.19


Currently if the client receives an execution-exception while blocked on sync, it doesn't get notified. Instead the client times out with an exception as given bellow.

This is less than ideal as it sometimes masks the real error and users need to go through the logs to figure out what really happens.

This also adds a lot of time to our test suite when errors happen, prolonging the run time.

org.apache.qpid.AMQException: timed out waiting for sync: complete = 37, point = 43 [error code 541: internal error]
        at org.apache.qpid.client.AMQSession_0_10.setCurrentException(AMQSession_0_10.java:1074)
        at org.apache.qpid.client.AMQSession_0_10.sync(AMQSession_0_10.java:1051)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org