Added :gen-class
This commit is contained in:
parent
f915906637
commit
2dfbfa0a12
|
@ -11,7 +11,8 @@
|
||||||
MqttClient
|
MqttClient
|
||||||
MqttConnectOptions
|
MqttConnectOptions
|
||||||
MqttMessage]
|
MqttMessage]
|
||||||
org.eclipse.paho.client.mqttv3.persist.MemoryPersistence))
|
org.eclipse.paho.client.mqttv3.persist.MemoryPersistence)
|
||||||
|
(:gen-class))
|
||||||
|
|
||||||
(defn- create-mqtt-client [broker-uri client-id mqtt-username passwd]
|
(defn- create-mqtt-client [broker-uri client-id mqtt-username passwd]
|
||||||
(let [opts (doto (MqttConnectOptions.)
|
(let [opts (doto (MqttConnectOptions.)
|
||||||
|
|
Loading…
Reference in New Issue