Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[paho-dev] ExecutorService for threading

Hi all,

I am working on joynr, an open-source middleware abstraction layer for connected vehicle-based functions (see http://joynr.io), which supports using MQTT as one of the transport middlewares. 

One of the deployment scenarios is JEE-based. The joynr Java implementation for MQTT is currently using Paho, but does not work correctly in a JEE environment because Paho’s threading is not able to use a managed executor.

I have prepared a patch to use an ExecutorService to manage Paho’s threads, and would welcome feedback. Is this a modification that could be considered for upstreaming, or does it break a design principle (inability to use java.util.concurrent on some targets?) that precludes such a change?

Thanks,
David

--

BMW Car IT GmbH
David Katz
Petuelring 116
80809 München

Web: http://www.bmw-carit.com
----------------------------------------------------------------------------------------
BMW Car IT GmbH

Geschäftsführer: Michael Würtenberger und Alexis Trolin
Sitz und Registergericht: München HRB 134810
----------------------------------------------------------------------------------------


Back to the top