Peter Simpson Expert Licensed User Longtime User Apr 16, 2019 #1 Hello Eral, I was wondering would it be possible for you to expose setMaxInflight method in object MqttConnectOptions? I've tried using JavaObject with with org.eclipse.paho.client.mqttv3.MqttConnectOptions but to no joy, all I'm getting is the following. Code: Copy java.lang.RuntimeException: Method: setMaxInflight not found in: org.eclipse.paho.client.mqttv3.MqttConnectOptions According to the www I can use setMaxInflight to fix an issue. Please note that I'm just playing with speed and just how many payloads I can push at any one time. The default is apparent set to 10 and I would like to up that number to 1000. If it's not possible, that's fine my me as I'm just testing something out for my own gratification. Well, I presumed that the method was in the object somewhere Thank you... Last edited: Apr 16, 2019
Hello Eral, I was wondering would it be possible for you to expose setMaxInflight method in object MqttConnectOptions? I've tried using JavaObject with with org.eclipse.paho.client.mqttv3.MqttConnectOptions but to no joy, all I'm getting is the following. Code: Copy java.lang.RuntimeException: Method: setMaxInflight not found in: org.eclipse.paho.client.mqttv3.MqttConnectOptions According to the www I can use setMaxInflight to fix an issue. Please note that I'm just playing with speed and just how many payloads I can push at any one time. The default is apparent set to 10 and I would like to up that number to 1000. If it's not possible, that's fine my me as I'm just testing something out for my own gratification. Well, I presumed that the method was in the object somewhere Thank you...
Erel B4X founder Staff member Licensed User Longtime User Apr 16, 2019 #2 You cannot access it with JavaObject because there is no such method in the wrapped version. It will be available once the library is updated to the latest version of paho.
You cannot access it with JavaObject because there is no such method in the wrapped version. It will be available once the library is updated to the latest version of paho.
Peter Simpson Expert Licensed User Longtime User Apr 16, 2019 #3 Erel said: You cannot access it with JavaObject because there is no such method in the wrapped version. It will be available once the library is updated to the latest version of paho. Click to expand... Thank you Erel...
Erel said: You cannot access it with JavaObject because there is no such method in the wrapped version. It will be available once the library is updated to the latest version of paho. Click to expand... Thank you Erel...