[
https://issues.apache.org/jira/browse/ARTEMIS-1218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16155200#comment-16155200
]
Jens Reimann commented on ARTEMIS-1218:
---------------------------------------
As pointed out in this issue: https://github.com/eclipse/kura/issues/1644 it
seems that the behavior your also not correct.
According to to [MQTT-3.1.4-2] [1] the broker should also allow the current
connect and disconnect the existing connection with the same client id.
[1]
http://docs.oasis-open.org/mqtt/mqtt/v3.1.1/csprd02/mqtt-v3.1.1-csprd02.html#_Toc385349768
> Connecting with an MQTT client ID only works once
> -------------------------------------------------
>
> Key: ARTEMIS-1218
> URL: https://issues.apache.org/jira/browse/ARTEMIS-1218
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Components: MQTT
> Affects Versions: 2.1.0
> Reporter: Jens Reimann
>
> Connecting to a default artemis instance (created with {artemis create --user
> XX --password XX}) and connecting via MQTT with a client ID works only once.
> The second time the client connect it gets refused during the connect.
> Using an empty client ID works.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)