Several tests wrap AMQMessages rather than overriding functionality
-------------------------------------------------------------------

                 Key: QPID-1659
                 URL: https://issues.apache.org/jira/browse/QPID-1659
             Project: Qpid
          Issue Type: Improvement
          Components: Java Tests
    Affects Versions: M4
            Reporter: Martin Ritchie
            Priority: Minor
             Fix For: M5


These tests all use the MessageFactory to create a new message but then use 
that as the basis for their own Message classes:
SimpleAMQQueueTest, TxAckTest.TestMessage, 
AbstractHeaderExchangeTestBase.Message

Their own classes already extend the right base type so they do not need to use 
the MessageFactory.

By simply overriding the right methods of the AMQMessage they would not need to 
have a custom Constructor on the TransientAMQMessasge Class.

This constructor is now marked Deprecated and should be removed at the earliest 
opportunity.

-- 
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:[email protected]

Reply via email to