Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Paho » Sent time(Time of original message)
Sent time [message #1180875] Mon, 11 November 2013 08:01 Go to next message
Francois van der Merwe is currently offline Francois van der MerweFriend
Messages: 1
Registered: November 2013
Junior Member
Is there a way to see when the message was originally published? When my client logs in and receive some messages from durable subscriptions it would be nice to know when the message was actually posted, especially if it is "sensor" connected messages.

Thank you
Re: Sent time [message #1181322 is a reply to message #1180875] Mon, 11 November 2013 14:30 Go to previous message
Nicholas O'Leary is currently offline Nicholas O'LearyFriend
Messages: 4
Registered: November 2012
Junior Member
Hi Francois,

no, MQTT does not provide this facility at the protocol level.

A typical way to solve this would be to include a timestamp in the payload - not ideal, as you then have to have some structure in the payload rather than just raw data.

Previous Topic:Lua Client - attempt to index field 'client' (a nil value)
Next Topic:Single threaded MQTT 'C' client
Goto Forum:

Current Time: Wed Dec 02 10:27:33 GMT 2020

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

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

Back to the top