[
https://issues.apache.org/jira/browse/AMQ-8583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17524727#comment-17524727
]
ASF subversion and git services commented on AMQ-8583:
------------------------------------------------------
Commit 239ddc05b1b18d4ac1384a1cb4a89640036d5d2a in activemq's branch
refs/heads/main from Jean-Baptiste Onofré
[ https://gitbox.apache.org/repos/asf?p=activemq.git;h=239ddc05b ]
[AMQ-8583] Move AMQP ResponseHandler interface into protocol package
> Move class ResponseHandler into package protocol
> ------------------------------------------------
>
> Key: AMQ-8583
> URL: https://issues.apache.org/jira/browse/AMQ-8583
> Project: ActiveMQ
> Issue Type: Bug
> Components: AMQP
> Affects Versions: 5.17.0
> Reporter: Fanyi
> Assignee: Jean-Baptiste Onofré
> Priority: Major
> Fix For: 5.17.1, 5.18.0
>
> Attachments: Activemq-ResponseHandler-java.png
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> *Issue Description*
>
> Package *_org.apache.activemq.transport.amqp_* is a promiscuous package, and
> groups together miscellaneous functionalities that might be useful to
> different subsystems. This means the cohesion between classes in the package
> is low. However, since the project has grown larger, this package structure
> is becoming increasingly hard to navigate. We found that Class
> *_ResponseHandler_* is not used by classes in their package
> {*}_org.apache.activemq.transport.amqp_{*}{_}.{_} Moreover, there are a lot
> of dependencies between class *_ResponseHandler_* and classes in the package
> {*}_org.apache.activemq.transport.amqp.protocol_{*}.
> Location: The source file can be found at path File
> /activemq-amqp/src/main/java/org/apache/activemq/transport/amqp/ResponseHandler.java
> *Refactoring suggestions*
>
> To avoid making *_org.apache.activemq.transport.amqp_* too big and
> unmanageable, we suggest to move class *_ResponseHandler_* into package
> \{_}*org.apache.activemq.transport.amqp.protocol*{_}{*}.{*}
>
--
This message was sent by Atlassian Jira
(v8.20.7#820007)