OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

amqp-comment message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: [amqp-comment] amqp over http draft


If you've got a low level AMQP client and a message pops out, how many places to you need to check whether the message is a mapped HTTP request or reply and how much spec knowledge/assumption do you need to determine that? 

subject: PROPPATCH
message-id: { .... guid ... }
reply-to: $me

Here's what I think I need:

1. Minimal additional wire-overhead
2. Simple, singular indicator whether the message is meant to be handled by an HTTP request or HTTP response dispatcher or neither.

Since "http:version" is generally implied and "subject" is in the properties section and therefore compactly position encoded, I really prefer not to introduce the overhead of an extra, required application-property including its key, and instead just prefix the status code/method name with as little info as I can in the interest of clarity. 

9 characters "http:req:" might even be a bit verbose and we could probably have something more terse like "htq:"/"htr:".

I want "subject" to state "This is an HTTP PROPPATCH request" or "This is an HTTP 429 response" in trivially machine-readable form and as a singular statement. 

You prefer for the subject to just say "PROPPATCH" or "429" and then gather further surrounding evidence from the message to figure out that this is indeed meant to be an HTTP request or response. 

I fail to see how the latter is easier or involving fewer operations for someone writing a dispatcher or for someone looking at the message in a Wireshark dump or in a debugger.


-----Original Message-----
From: Gordon Sim <gsim@redhat.com> 
Sent: Dienstag, 28. Mai 2019 13:26
To: amqp-comment@lists.oasis-open.org
Subject: Re: [amqp-comment] amqp over http draft

On 28/05/2019 12:17 pm, Gordon Sim wrote:
> On 28/05/2019 12:01 pm, Clemens Vasters wrote:
>> What else in the spec do you find so aesthetically offensive that you 
>> would give up interoperability for it, Gordon?
> 
> The prefixing is the only aspect. (I believe we are agreed on not 
> converting the method to lower case).

And to be clear, the problem is that it is an issue visible by any direct amqp clients and services i.e. it can't be easily hidden.

--
This publicly archived list offers a means to provide input to the OASIS Advanced Message Queuing Protocol (AMQP) TC.

In order to verify user consent to the Feedback License terms and to minimize spam in the list archive, subscription is required before posting.

Subscribe: amqp-comment-subscribe@lists.oasis-open.org
Unsubscribe: amqp-comment-unsubscribe@lists.oasis-open.org
List help: amqp-comment-help@lists.oasis-open.org
List archive: https://nam06.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.oasis-open.org%2Farchives%2Famqp-comment%2F&amp;data=02%7C01%7Cclemensv%40microsoft.com%7C25b615d10f5e4fc0ce6308d6e35f3dc4%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C1%7C636946395547736181&amp;sdata=zKp%2BROKHgBAizZ5%2FgFzfmfaqSByV5PDGzezThUekY8g%3D&amp;reserved=0
Feedback License: https://nam06.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.oasis-open.org%2Fwho%2Fipr%2Ffeedback_license.pdf&amp;data=02%7C01%7Cclemensv%40microsoft.com%7C25b615d10f5e4fc0ce6308d6e35f3dc4%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C1%7C636946395547736181&amp;sdata=zL8xf638f5xC8OTK43ILoygW22QNPViS3QC6IQAKX8Y%3D&amp;reserved=0
List Guidelines: https://nam06.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.oasis-open.org%2Fmaillists%2Fguidelines.php&amp;data=02%7C01%7Cclemensv%40microsoft.com%7C25b615d10f5e4fc0ce6308d6e35f3dc4%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C1%7C636946395547736181&amp;sdata=HMR4ifHqXPvl0uvfzLpag2P5p9fKUgoOd0OrLoVlz0w%3D&amp;reserved=0
Committee: https://nam06.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.oasis-open.org%2Fcommittees%2Famqp&amp;data=02%7C01%7Cclemensv%40microsoft.com%7C25b615d10f5e4fc0ce6308d6e35f3dc4%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C1%7C636946395547736181&amp;sdata=tVBHPDe8sBa%2F4mSM7oxMLjGmJX6vXAgyd4JYmhdUr5s%3D&amp;reserved=0
Join OASIS: https://nam06.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.oasis-open.org%2Fjoin%2F&amp;data=02%7C01%7Cclemensv%40microsoft.com%7C25b615d10f5e4fc0ce6308d6e35f3dc4%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C1%7C636946395547736181&amp;sdata=2%2FoeVKdfc50%2Bsmsrlw9i04YCznpyz5TuqJZo16OdGO4%3D&amp;reserved=0



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]