You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Sorin Suciu (JIRA)" <qp...@incubator.apache.org> on 2010/08/02 15:00:22 UTC

[jira] Updated: (QPID-2783) Eliminate the UnknownMessageTypeException from o.a.q.server.protocol package

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

Sorin Suciu updated QPID-2783:
------------------------------

    Attachment: qpid-2783.patch

> Eliminate the UnknownMessageTypeException from o.a.q.server.protocol package
> ----------------------------------------------------------------------------
>
>                 Key: QPID-2783
>                 URL: https://issues.apache.org/jira/browse/QPID-2783
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Java Broker
>    Affects Versions: 0.7
>            Reporter: Sorin Suciu
>            Priority: Minor
>             Fix For: 0.7
>
>         Attachments: qpid-2783.patch
>
>
> The UnknownMessageTypeException is only used in AMQProtocolEngine and uses AMQException in a deprecated fashion. As the framing layer is catching any throwable, we can replace it with a ClassCastException in the AMQProtocolEngine and remove that class as it is a bit misplaced in the protocol package.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org