tags:

views:

316

answers:

1

Hi

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.

+1  A: 

Hi Adam,

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-xxx.com-51165-1234432649359-2:0

It connects successfully to the broker without any headers.

Cheers

Dejan Bosanac