Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [paho-dev] sending a message from subscribe callback

I believe that you can send messages from within a subscribe call back, but with cautions.  Your call back methods ( MqttCallback and IMqttActionListener) should not block.

--
Regards,
Mike Tran




From:        "onkelsers ." <dummyforforum@xxxxxxxxxxxxxx>
To:        General development discussions for paho project <paho-dev@xxxxxxxxxxx>
Date:        01/13/2016 09:28 AM
Subject:        Re: [paho-dev] sending a message from subscribe callback
Sent by:        paho-dev-bounces@xxxxxxxxxxx




Sorry for that, I'm using Java.

2016-01-13 11:50 GMT+01:00 Roger Light <roger@xxxxxxxxxx>:
To be clear, could you say which language you are using?

Cheers,
Roger

On Jan 12, 2016 11:23 PM, "robert" <rschwarz0@xxxxxxxxx> wrote:
Hi,
I am not exactly clear on the threading model.
Is it allowed to send a message from within a subscribe call back ?
_______________________________________________
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

_______________________________________________
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
_______________________________________________
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


Back to the top