jbertram commented on code in PR #5562:
URL: https://github.com/apache/activemq-artemis/pull/5562#discussion_r2002147171
##########
artemis-server/src/main/java/org/apache/activemq/artemis/core/management/impl/ActiveMQServerControlImpl.java:
##########
@@ -2437,6 +2437,9 @@ public boolean closeSessionWithID(final String
connectionID, final String ID, fi
List<ServerSession> sessions = server.getSessions(connectionID);
for (ServerSession session : sessions) {
if (session.getName().equals(ID)) {
+ for (ServerConsumer consumer : session.getServerConsumers())
{
Review Comment:
I added some logic to log unexpected results while closing the consumers. I
think that should suffice.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact