You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/04/05 15:28:00 UTC
[jira] [Work logged] (ARTEMIS-2692) Refactor queue creation
[ https://issues.apache.org/jira/browse/ARTEMIS-2692?focusedWorklogId=416205&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-416205 ]
ASF GitHub Bot logged work on ARTEMIS-2692:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 05/Apr/20 15:27
Start Date: 05/Apr/20 15:27
Worklog Time Spent: 10m
Work Description: jbertram commented on pull request #3063: ARTEMIS-2692 refactor queue creation
URL: https://github.com/apache/activemq-artemis/pull/3063
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, createTemporaryQueue &
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 tests and internal code to use the new methods.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Issue Time Tracking
-------------------
Worklog Id: (was: 416205)
Remaining Estimate: 0h
Time Spent: 10m
> 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: 10m
> 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)