You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Keith Wall (JIRA)" <ji...@apache.org> on 2016/12/19 11:21:58 UTC

[jira] [Resolved] (QPID-7572) [Java Broker] Refactor Consumer related interfaces

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

Keith Wall resolved QPID-7572.
------------------------------
    Resolution: Fixed

Changes look reasonable to me.

> [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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org