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

Lorenz Quack updated QPID-7656:
-------------------------------
    Description: 
Currently, in the AMQP 1.0 layer there are classes of closely related concepts 
with unclear responsibilities. More specifically, there is a Link_1_0 class 
(and subclasses) and a LinkEndpoint class (again with subclasses). The 
responsibilities of the classes should be clarified and the code refactored to 
reflect this.

See the current (v3) [design of the 
LinkRegistry|https://cwiki.apache.org/confluence/display/qpid/Link+Registry+Design]
 for proposed responsibilities and APIs.

  was:
Currently, in the AMQP 1.0 layer there are several classes of closely related 
concepts. More specifically, there is a Link_1_0 class (and subclasses) and a 
LinkEndpoint class (again with subclasses). They both seem to contain 
overlapping functionallity like handling of unsettled state and flowControl 
logic.

The separation feels artificial and does not seem to provide much benefit. To 
the contrary, it seems to contribute to unclear responsibilities and in general 
hard to reason about code.

This issue proposes to merge the classes and remove any duplication of 
functionality.


> [Java Broker] Merge Link and LinkEndpoint in AMQP 1.0 plugin
> ------------------------------------------------------------
>
>                 Key: QPID-7656
>                 URL: https://issues.apache.org/jira/browse/QPID-7656
>             Project: Qpid
>          Issue Type: Task
>          Components: Java Broker
>            Reporter: Lorenz Quack
>             Fix For: qpid-java-7.0
>
>
> Currently, in the AMQP 1.0 layer there are classes of closely related 
> concepts with unclear responsibilities. More specifically, there is a 
> Link_1_0 class (and subclasses) and a LinkEndpoint class (again with 
> subclasses). The responsibilities of the classes should be clarified and the 
> code refactored to reflect this.
> See the current (v3) [design of the 
> LinkRegistry|https://cwiki.apache.org/confluence/display/qpid/Link+Registry+Design]
>  for proposed responsibilities and APIs.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to