Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [paho-dev] Thread safety of MQTTAsyncClient for Java

Hi Manuel,

I think the answer is yes, that it is  safe to be called from multiple threads.  I will check with the author of the code that that was his intention, but I would be very surprised if the answer is no.

Ian

On 02/05/2015 05:46 PM, Manuel Domínguez Dorado wrote:
Hello,

I'm currently using an instance of MQTTAsyncClient and I whould like to know if the implementation of publish(...) is thread-safe. I need several threads publishing using this instance (that is already connected) and I would like to know if I have to take care of this question or not.

Kindest regards.

--
---
Manuel Domínguez Dorado
ingeniero ARROBA ManoloDominguez PUNTO com
http://www.ManoloDominguez.com


_______________________________________________
paho-dev mailing list
paho-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/paho-dev

-- 
Ian Craggs                          
icraggs@xxxxxxxxxx                 IBM United Kingdom
Paho Project Lead; Committer on Mosquitto


Back to the top