[
https://issues.apache.org/jira/browse/ARTEMIS-2401?focusedWorklogId=269083&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-269083
]
ASF GitHub Bot logged work on ARTEMIS-2401:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 28/Jun/19 06:52
Start Date: 28/Jun/19 06:52
Worklog Time Spent: 10m
Work Description: michaelandrepearce commented on pull request #2731:
[ARTEMIS-2401]: Implement the Pause method for a Topic
URL: https://github.com/apache/activemq-artemis/pull/2731#discussion_r298473009
##########
File path:
artemis-core-client/src/main/java/org/apache/activemq/artemis/api/core/management/AddressControl.java
##########
@@ -135,4 +135,35 @@ String sendMessage(@Parameter(name = "headers", desc =
"The headers to add to th
@Parameter(name = "durable", desc = "Whether the message
is durable") boolean durable,
@Parameter(name = "user", desc = "The user to
authenticate with") String user,
@Parameter(name = "password", desc = "The users password
to authenticate with") String password) throws Exception;
+
+ /**
+ * Pauses all the consumers of this address.Messages are no longer
delivered to all its queues consumers.
+ * Newly added consumers will be paused too until resume is called.
+ * @throws java.lang.Exception
+ */
+ @Operation(desc = "Pauses the queues bound to this address", impact =
MBeanOperationInfo.ACTION)
+ void pause() throws Exception;
+
+ /**
+ * Pauses all the consumers of this address.Messages are no longer
delivered to all its queues consumers.
Review comment:
Can you update the doc too please. It should state it pauses the queues, not
consumers.
----------------------------------------------------------------
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:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 269083)
Time Spent: 1.5h (was: 1h 20m)
> Implement the Pause method for a Topic
> --------------------------------------
>
> Key: ARTEMIS-2401
> URL: https://issues.apache.org/jira/browse/ARTEMIS-2401
> Project: ActiveMQ Artemis
> Issue Type: New Feature
> Components: Broker
> Affects Versions: 2.9.0
> Reporter: Emmanuel Hugonnet
> Priority: Major
> Time Spent: 1.5h
> Remaining Estimate: 0h
>
> Enable to pause all the consumers of a topic. New subscriptions being
> registered while the topic is in pause will be paused also.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)