[
https://issues.apache.org/jira/browse/ARTEMIS-3770?focusedWorklogId=766762&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-766762
]
ASF GitHub Bot logged work on ARTEMIS-3770:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 05/May/22 16:11
Start Date: 05/May/22 16:11
Worklog Time Spent: 10m
Work Description: riccardomodanese commented on PR #4021:
URL:
https://github.com/apache/activemq-artemis/pull/4021#issuecomment-1118754396
it works for me.
I tried again with the full Kapua ServerPlugin and SecurityPlugin using the
Artemis 2.23.0-SNAPSHOT(updated in the morning) + your commit.
Both the "normal stealing link" and the "multi tenant" are handled correctly
(in the second case both the clients are able to stay connected).
With your fix I don't see exceptions thrown by Paho client while, for
example, 10 clients are connecting at the same time with the same clientId. The
client connects and soon after its status changes to disconnect "softly"
I'll do few more tests in the next days.
Issue Time Tracking
-------------------
Worklog Id: (was: 766762)
Time Spent: 0.5h (was: 20m)
> Refactor MQTT handling of client ID
> -----------------------------------
>
> Key: ARTEMIS-3770
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3770
> Project: ActiveMQ Artemis
> Issue Type: Improvement
> Reporter: Justin Bertram
> Assignee: Justin Bertram
> Priority: Minor
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> It would be useful to allow security manager implementations to modify the
> client ID value used by MQTT clients. Refactor the MQTT implementation's
> handling of client ID to support this functionality.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)