Skip to main content



      Home
Home » Archived » Unide » Media types for Measurement and Message(introduce proper media types for the different message types)
Media types for Measurement and Message [message #1763643] Thu, 18 May 2017 05:59 Go to next message
Eclipse UserFriend
Hi,

I would like to propose the definition of proper media types for the different message types so that infrastructure and processors can easily determine where to route the message to without the need to introspect the message first (in order to determine its type).

Many (if not most) transport protocols allow for (or explicitly encourage or require) setting a content-type header or message property when sending a message.

This would also make it easier for e.g. Eclipse Hono to route messages properly since Hono is designed to be payload agnostic and should not need to introspect messages (which also dramatically degrades performance from my experience).

I could imagine something like

application/vnd.eclipse.unide-measurement+json
application/vnd.eclipse.unide-message+json
Re: Media types for Measurement and Message [message #1763924 is a reply to message #1763643] Tue, 23 May 2017 01:45 Go to previous messageGo to next message
Eclipse UserFriend
Hi Kai,

good idea.

Do you know any standard in naming these content-type strings? (e.g. Is "application" necessary and what does it stand for?, Is +- allowed? etc.)

Kind Regards,
Henryk
Re: Media types for Measurement and Message [message #1775534 is a reply to message #1763924] Tue, 31 October 2017 12:09 Go to previous message
Eclipse UserFriend
Sure, Wikipedia has all the info for you incl. links to the corresponding RFCs:

https://en.wikipedia.org/wiki/Media_type

Regards,
Kai
Previous Topic:Welcome to Unide
Next Topic:Reusable structures
Goto Forum:
  


Current Time: Sat Jun 14 17:36:17 EDT 2025

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

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

Back to the top