activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Bertram <jbert...@redhat.com>
Subject Re: [Artemis] Getting client username when intercepting MqttSubscribeMessage
Date Tue, 29 Aug 2017 13:40:17 GMT
As far as I can tell from reading the spec [1] (as well as the Netty API we
use to decode MQTT [2]) an MQTT SUBSCRIBE message doesn't include the
client's username.  That information appears to only be a part of a CONNECT
message.


Justin

[1]
http://public.dhe.ibm.com/software/dw/webservices/ws-mqtt/mqtt-v3r1.html#subscribe
[2] http://netty.io/4.1/api/io/netty/handler/codec/mqtt/package-summary.html

On Tue, Aug 29, 2017 at 8:16 AM, aragoubi <aymen.rag@gmail.com> wrote:

> I have a MQTT interceptor inside my Artemis broker. I am intercepting
> MqttSubscribeMessage.
> My purpose is to get client username and userId trying to subscribe when
> intercepting the MqttSubscribeMessage.
>
> Is it possible to do this ? could someone help me with this ?
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.
> nabble.com/Artemis-Getting-client-username-when-intercepting-
> MqttSubscribeMessage-tp4730047.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message