STOMP Protocol - Connect frame are login / passcode mandatory?
I have been using the STOMP protocol in various guises. I have experienced this phenomenon in the PHP, Python and Objective-C libraries for STOMP. The STOMP specification on the STOMP website is not specific on this point.
Basically, the CONNECT function in all three libraries (although the Python one has now fixed this, it was acknowledged as a bug. The function still sends a login and passcode parameter, even if none are specified. As so..
CONNECT login: passcode:
The specification is unclear, and I am wondering if anyone has any better idea about this. I am aware some people involved with STOMP and ActiveMQ browse these forums.
ActiveMQ does not require these headers to be sent. Take a look at this telnet session for example
$ telnet localhost 61613 Trying ::1... Connected to localhost. Escape character is '^]'. CONNECT ^@ CONNECTED session:ID:nc-example.com-51165-1234432649359-2:0
It connects successfully to the broker without any headers.