Since a SUBSCRIBE message doesn't contain details about the user then one
possible solution is to record that information when intercepting the
CONNECT message and then correlate that using the ID from the
org.apache.activemq.artemis.spi.core.protocol.RemotingConnection object
(i.e. using getID()).


Justin

On Tue, Aug 29, 2017 at 8:53 AM, aragoubi <[email protected]> wrote:

> Yes, and with the RemotingConnection I can get only the remote adress (ip
> adress and port).
> So it is not possible to know the user when intercepting
> MqttSubscriveMessage?
> Could I add this by changing the Artemis project code ?
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.
> nabble.com/Artemis-Getting-client-username-when-intercepting-
> MqttSubscribeMessage-tp4730047p4730055.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

Reply via email to