Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Kura » Store and Forward feature for Http web service call(Store and Forward feature for Http web service call)
Store and Forward feature for Http web service call [message #1732085] Thu, 12 May 2016 13:19 Go to next message
Praful CJ is currently offline Praful CJFriend
Messages: 8
Registered: May 2016
Junior Member
Hi,

When Mqtt broker is not alive, i was able to utilize Eclipse Kura feature store and forward due to which data are not lost. Could you please provide guidance or insights on how i could use store and forward feature for http web service call, so that when the web server is down, data gets stored and sends when the web server comes live


Regards,
Praful
Re: Store and Forward feature for Http web service call [message #1732156 is a reply to message #1732085] Fri, 13 May 2016 04:24 Go to previous messageGo to next message
Kiran Gopalan is currently offline Kiran GopalanFriend
Messages: 7
Registered: March 2016
Junior Member
Adding to Praful's query : Basically we would like to replace MQTT with HTTP as the messaging protocol and still use Data service,Cloud service etc. I know that MQTT requires a persistent connection and HTTP does not, so connection management might not be relevant. But we would like other features like store and forward etc.

[Updated on: Fri, 13 May 2016 04:25]

Report message to a moderator

Re: Store and Forward feature for Http web service call [message #1732506 is a reply to message #1732156] Tue, 17 May 2016 19:07 Go to previous messageGo to next message
David Woodard is currently offline David WoodardFriend
Messages: 420
Registered: July 2014
Senior Member
Hello,

There is nothing native in Kura to support this, but you could probably re-use portions of the framework. What you are describing is replacing the MqttDataTransport with your own HttpDataTransport. The DataService and CloudService are fairly specific to MQTT, but you could map the publish/subscribe methods to GET/POST methods in your new transport layer. I don't know of anyone who has done this, but I would be happy to review any architecture designs you have come up with.

If persistence is all you need, you can use the DBService by itself. This provides access to the HSQL database that comes with Kura.

Thanks,
--Dave
Re: Store and Forward feature for Http web service call [message #1732762 is a reply to message #1732506] Fri, 20 May 2016 05:05 Go to previous messageGo to next message
Kiran Gopalan is currently offline Kiran GopalanFriend
Messages: 7
Registered: March 2016
Junior Member
Hi Dave,

Thanks for the reply. We are definitely interested in adding this feature.

Do you have the corresponding architecture diagram for MQTT that we can refer?

Regards,
Kiran G
Re: Store and Forward feature for Http web service call [message #1732980 is a reply to message #1732762] Mon, 23 May 2016 07:18 Go to previous message
David Woodard is currently offline David WoodardFriend
Messages: 420
Registered: July 2014
Senior Member
Hello,

We don't have diagrams, but the API documentation discusses the architecture rather thoroughly:

http://download.eclipse.org/kura/releases/1.3.0/docs/apidocs/org/eclipse/kura/cloud/CloudService.html
http://download.eclipse.org/kura/releases/1.3.0/docs/apidocs/org/eclipse/kura/data/DataService.html
http://download.eclipse.org/kura/releases/1.3.0/docs/apidocs/org/eclipse/kura/data/DataTransportService.html

Thanks,
--Dave

Previous Topic:ble disconnect
Next Topic:Best way to read data from Sensor
Goto Forum:
  


Current Time: Thu Apr 25 10:15:33 GMT 2024

Powered by FUDForum. Page generated in 2.96643 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top