Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [paho-dev] Paho Mqtt Client Issue

Hi

As per your suggestion when we trying use Mosquito our plugins are nor supported can you suggest as alternative for this as we are getting below crash ( attached)

Thank you
Dhari


On 14 Jun 2017 6:52 pm, "James Sutton1" <james.sutton@xxxxxxxxxx> wrote:
Can you check to see whether you experience the same issue when using Mosquito please? That kind of issue would have been identified in our tests pretty early on.
Kind regards,
 
James Sutton
Software Engineer - IoT Foundation - MQTT Open Source Projects
Ops Team - Wimbledon Project

Phone: 01962 815438 | Extension: x372454
E-mail: james.sutton@xxxxxx.com
Personal Website: www.jsutton.co.uk
Find me on:     
IBM

Hursley Park
HursleySO212JN
United Kingdom
 
IBM United Kingdom Limited Registered in England and Wales with number 741598 Registered office: PO Box 41, North Harbour, Portsmouth, Hants. PO6 3AU
 
 
----- Original message -----
From: Deepak Kumhar <deepak.kumhar@xxxxxxxxxxxxx>
Sent by: paho-dev-bounces@xxxxxxxxxxx
To: General development discussions for paho project <paho-dev@xxxxxxxxxxx>
Cc: Karthik Jayanthi <karthik.jayanthi@delhivery.com>
Subject: Re: [paho-dev] Paho Mqtt Client Issue
Date: Wed, Jun 14, 2017 12:42 PM
 
VerneMq broker we are using. We have successfully proceed all data without disconnecting while we used node client. 
The issue is with Eclipse java paho Mqtt client only and only when we are using QOs 1. For qos 0 it is working fine. 
 
On Wed, Jun 14, 2017 at 5:00 PM, James Sutton1 <james.sutton@xxxxxxxxxx> wrote:
Hi,
 
What type of MQTT Broker are you using?
 
 
Kind regards,
 
James Sutton
Software Engineer - IoT Foundation - MQTT Open Source Projects
Ops Team - Wimbledon Project

Phone: 01962 815438 | Extension: x372454
E-mail: james.sutton@xxxxxxxxxm
Personal Website: www.jsutton.co.uk
Find me on:     
IBM

Hursley Park
HursleySO212JN
United Kingdom
 
IBM United Kingdom Limited Registered in England and Wales with number 741598 Registered office: PO Box 41, North Harbour, Portsmouth, Hants. PO6 3AU
 
 
----- Original message -----
From: Deepak Kumhar <deepak.kumhar@xxxxxxxxxxxxx>
Sent by: paho-dev-bounces@xxxxxxxxxxx
To: paho-dev@xxxxxxxxxxx
Cc: Karthik Jayanthi <karthik.jayanthi@xxxxxxxxxxxxm>
Subject: [paho-dev] Paho Mqtt Client Issue
Date: Wed, Jun 14, 2017 11:59 AM
 
Hello, 
We are trying to publish message with Qos 1, messages are being publish successfully but just after each publish client is getting connection lost callback (disconnecting) which was not there  in case of when we were using Qos 0. 

If you could guide us if anything more configuration require while dealing with Qos  1 would be helpful. 

Below is the common configuration for both case. 
MqttConnectOptions options = new MqttConnectOptions();
options.setUserName("ourusername"
);
options.setPassword("ourPassword");
options.setMqttVersion(MqttConnectOptions.
MQTT_VERSION_3_1);
options.
setAutomaticReconnect(false);
options.setCleanSession(
false);
options.setKeepAliveInterval(
900);
String tmpDir = System.getProperty("java.io.tmpdir");
MqttDefaultFilePersistence dataStore = new MqttDefaultFilePersistence(tmpDir);
MqttClient client = new MqttClient(url,client_id,dataStore);client.setTimeToWait(15000);client.connect(options);
 
MqttMessage message = new MqttMessage(ourPayload);message.setQos(1); //0 and 1 /* working fine in case of 0*/client.publish(ourtopic,message);
 
--
Thanks
 
Deepak Kumhar
Associate Tech ( Mobile Team )
Delhivery HQ

("Eat code before they debug it ... Learn And implement")
 
_______________________________________________
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
 
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU


_______________________________________________
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
 
 
--
Thanks
 
Deepak Kumhar
Associate Tech ( Mobile Team )
Delhivery HQ

("Eat code before they debug it ... Learn And implement")
 
_______________________________________________
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
 
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU


_______________________________________________
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