[rabbitmq-discuss] STOMP 1.1 CONNECT header problem

Michael Justin michael.justin at gmx.net
Thu Jun 28 18:18:21 BST 2012


Hello,

for this CONNECT frame

CONNECT
login:guest
passcode:guest
accept-version:1.1
host:localhost

the RabbitMQ 2.8.4 server responds:

ERROR
message:Bad CONNECT
content-type:text/plain
version:1.0,1.1
content-length:23

And if the client sends 'server' instead of 'host':

CONNECT
login:guest
passcode:guest
accept-version:1.1
server:localhost

the server accepts the connection:

CONNECTED
session:session-API2OcjBv_NK11_v0yuppC
heart-beat:0,0
server:RabbitMQ/2.8.4
version:1.1

The specification says there must be a 'host' header in the CONNECT 
frame: 
http://stomp.github.com/stomp-specification-1.1.html#CONNECT_or_STOMP_Frame

but RabbitMQ expects a 'server' header property instead. Is this a bug?

Regards
-- 
Michael Justin



More information about the rabbitmq-discuss mailing list