[
https://issues.apache.org/jira/browse/ARTEMIS-2692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17082623#comment-17082623
]
ASF subversion and git services commented on ARTEMIS-2692:
----------------------------------------------------------
Commit 2efa44daf52994790737e21ee29ae830f8f0a12c in activemq-artemis's branch
refs/heads/master from Justin Bertram
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=2efa44d ]
ARTEMIS-2692 refactor queue creation
This commit does the following:
- Deprecates existing overloaded createQueue, createSharedQueue,
createTemporaryQueue, & updateQueue methods for ClientSession,
ServerSession, ActiveMQServer, & ActiveMQServerControl where
applicable.
- Deprecates QueueAttributes, QueueConfig, & CoreQueueConfiguration.
- Deprecates existing overloaded constructors for QueueImpl.
- Implements QueueConfiguration with JavaDoc to be the single,
centralized configuration object for both client-side and broker-side
queue creation including methods to convert to & from JSON for use in
the management API.
- Implements new createQueue, createSharedQueue & updateQueue methods
with JavaDoc for ClientSession, ServerSession, ActiveMQServer, &
ActiveMQServerControl as well as a new constructor for QueueImpl all
using the new QueueConfiguration object.
- Changes all internal broker code to use the new methods.
> Refactor queue creation
> -----------------------
>
> Key: ARTEMIS-2692
> URL: https://issues.apache.org/jira/browse/ARTEMIS-2692
> Project: ActiveMQ Artemis
> Issue Type: Task
> Reporter: Justin Bertram
> Assignee: Justin Bertram
> Priority: Major
> Time Spent: 3.5h
> Remaining Estimate: 0h
>
> The number of overloaded methods to create queues hurts broker usability and
> code maintainability. Queue creation should be refactored.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)