qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Godfrey (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (QPID-3523) the 0-10 client is non compliant in its use of the exception listener
Date Mon, 17 Sep 2012 13:20:07 GMT

     [ https://issues.apache.org/jira/browse/QPID-3523?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Rob Godfrey updated QPID-3523:
------------------------------

    Description: 
the 0-10 client is non compliant in its use of the exception listener, with some exceptions
being reported both through the exception listener and method calls which caused them or occur
after them.

Looking at the JMS spec section for ExceptionListener, it is quite clear about intended behaviour:

"A JMS provider should attempt to resolve connection problems itself prior to notifying the
client of them.

The exceptions delivered to ExceptionListener are those which don't have any other place to
be reported. If an exception is thrown on a JMS call it, by definition, must not be delivered
to an ExceptionListener (i.e. ExceptionListener is not for the purpose of monitoring all exceptions
thrown by a connection)."


  was:
the 0-10 client is non compliant in its use of the exception listener, with some exceptions
being reported both through the exception listener and method calls which caused them or occur
after them.

Looking at the JMS spec section for ExceptionListener, it is quite clear about intended behaviour:

"A JMS provider should attempt to resolve connection problems itself prior to notifying the
client of them.

The exceptions delivered to ExceptionListener are those which don’t have any other
place to be reported. If an exception is thrown on a JMS call it, by definition, must not
be delivered to an ExceptionListener (i.e. ExceptionListener is not for the purpose of monitoring
all exceptions thrown by a connection)."


    
> the 0-10 client is non compliant in its use of the exception listener
> ---------------------------------------------------------------------
>
>                 Key: QPID-3523
>                 URL: https://issues.apache.org/jira/browse/QPID-3523
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>    Affects Versions: 0.12
>            Reporter: Robbie Gemmell
>              Labels: exception-handling
>
> the 0-10 client is non compliant in its use of the exception listener, with some exceptions
being reported both through the exception listener and method calls which caused them or occur
after them.
> Looking at the JMS spec section for ExceptionListener, it is quite clear about intended
behaviour:
> "A JMS provider should attempt to resolve connection problems itself prior to notifying
the client of them.
> The exceptions delivered to ExceptionListener are those which don't have any other place
to be reported. If an exception is thrown on a JMS call it, by definition, must not be delivered
to an ExceptionListener (i.e. ExceptionListener is not for the purpose of monitoring all exceptions
thrown by a connection)."

--
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


Mime
View raw message