Thoughts of Hiram Chirino

Monday, September 21, 2009

STOMP Clarification

I just saw a tweet which demonstrates that the STOMP spec still needs more clarification. I think Brian McCallister, the founding architect of protocol, will agree that one of the tenets of the protocol was for it to be simple enough to even use by user which directly connects to a server via telnet.

And to support that use case, newlines after the frame terminator are a natural occurrence. But it might be easier to describe it as:
  • A stomp frame may have zero or more newlines preceding it's command verb.

posted by Hiram Chirino at 9:22 AM spacer spacer

1 Comments:

  • I'll agree with your statement about the newline after the terminator being natural. I assumed that because the newline wasn't specified in the protocol, that it wasn't supposed to be there.

    In all honesty, this is such a small problem, that it didn't bother me that much to just account for both cases in code.

    It would be really nice if every implementation followed the spec to the letter, but even if it were more finely grained in detail, it probably wouldn't happen.

    I like your description and think it would be helpful to add that to the documentation.

    By spacer  benjaminws, At 10:24 AM  

Post a Comment



<$I18N$LinksToThisPost>:

Create a Link

<< Home


 
gipoco.com is neither affiliated with the authors of this page nor responsible for its contents. This is a safe-cache copy of the original web site.