You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Rob Godfrey (JIRA)" <ji...@apache.org> on 2016/11/19 21:18:58 UTC
[jira] [Created] (QPID-7532) [Java] Replace AMQConstant class with
constant integer error codes
Rob Godfrey created QPID-7532:
---------------------------------
Summary: [Java] Replace AMQConstant class with constant integer error codes
Key: QPID-7532
URL: https://issues.apache.org/jira/browse/QPID-7532
Project: Qpid
Issue Type: Improvement
Components: Java Broker, Java Client, Java Common
Reporter: Rob Godfrey
Assignee: Rob Godfrey
The AMQConstant class is weird and permeates through the equally weird AMQException hierarchy. Essentially the class in 95% about defining the common error codes (404 means Not Found, etc). The AMQConstant class is used broker wide, but does not actually fit to the AMQP 0-10 or 1.0 models.
In AMQP 0-8 we should use the integer error codes, in common code we should use protocol independent enumerations to define possible error conditions
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org