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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to