qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rajith Attapattu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-5868) Java client ignores exceptions when waiting on sync
Date Fri, 04 Jul 2014 23:22:33 GMT

    [ https://issues.apache.org/jira/browse/QPID-5868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14052722#comment-14052722

Rajith Attapattu commented on QPID-5868:

I verified that both the transport session and the AMQSession_0_10 (jms session) are both
marked closed by the time the exception is thrown to the application, which I think is the
most important thing.

Both the sync method and the exception method (called via the listener interface) delegates
to setCurrentException method.
Therefore which gets called first doesn't matter.

Without the patch, important exceptions are not reported and customers have complained about
Therefore I believe it's important to get this patch in.

> Java client ignores exceptions when waiting on sync
> ---------------------------------------------------
>                 Key: QPID-5868
>                 URL: https://issues.apache.org/jira/browse/QPID-5868
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>    Affects Versions: 0.27
>            Reporter: Rajith Attapattu
>             Fix For: 0.29
>         Attachments: QPID-5868.patch
> The java client will wait on the sync command even if an execution exception is received
from the broker.
> It will then proceed to throw a timeout exception and the execution exception is not
reported properly to the application.

This message was sent by Atlassian JIRA

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

View raw message