Rob Godfrey created QPID-7572:
---------------------------------

             Summary: [Java Broker] Refactor Consumer related interfaces
                 Key: QPID-7572
                 URL: https://issues.apache.org/jira/browse/QPID-7572
             Project: Qpid
          Issue Type: Improvement
          Components: Java Broker
            Reporter: Rob Godfrey
            Assignee: Rob Godfrey
             Fix For: qpid-java-6.2


Currently there is an interface named ConsumerImpl... this is a very bad name 
:-)

Replace ConsumerImpl with MessageInstanceConsumer (an interface reflecting the 
operations the transport layers need to perform on a consumer).  Consumer will 
extend MessageInstanceConsumer to reflect the operations which occur on a 
managed object.

In general for a given type of MessageSource, the implementations of 
MessageInstance and MessageInstanceConsumer will be tightly coupled to the 
implementation of the MessageSource.  The transport layer will create a message 
instance consumer by calling addConsumer on the MessageSource with the 
transport layer target.



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