[ 
https://issues.apache.org/jira/browse/ARTEMIS-5255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17916197#comment-17916197
 ] 

Justin Bertram edited comment on ARTEMIS-5255 at 1/22/25 9:48 PM:
------------------------------------------------------------------

This is expected since there are 2 Core sessions for every MQTT connection. See 
[this 
code|https://github.com/apache/activemq-artemis/blob/8bfcb54a3ac056f7797d6bc0b1aa28ba70eb75d7/artemis-protocols/artemis-mqtt-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/mqtt/MQTTConnectionManager.java#L74]
 for more details.


was (Author: jbertram):
This is expected since there are 2 Core sessions for every MQTT connection.

> The ActiveMQServerSessionPlugin is called twice when establishing or closing 
> a connection.
> ------------------------------------------------------------------------------------------
>
>                 Key: ARTEMIS-5255
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-5255
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>    Affects Versions: 2.38.0
>            Reporter: gongping.zhu
>            Priority: Major
>
> The ActiveMQServerxxxPlugin every method is called twice when establishing or 
> closing a connection.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to