Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [paho-dev] java: publishing from the callback

Hi,

Any hints on this? Julien and I are finalizing the MQTT Tutorial for
EclipseCon and it¹s too bad that messages can¹t be published from the
MqttCallback (despite what the Javadoc says, which makes this even more
confusing).

Thanks!
Benjamin


Le 11/03/2014 13:28, « Julien Vermillard » <jvermillar@xxxxxxxxxxxxxxxxxx>
a écrit :

>Hi!
>With the java paho client, publishing a message inside the
>"messageArrived" callback is
>blocking the whole MQTT client.
>
>It's supposed to be like that? It's not that complex to delegate the
>publishing to another thread but I'm wondering if I missed something
>here.
>
>Thanks,
>Julien
>_______________________________________________
>paho-dev mailing list
>paho-dev@xxxxxxxxxxx
>https://dev.eclipse.org/mailman/listinfo/paho-dev
>




Back to the top