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.

Answers


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.

Cheers


Need Your Help

How do I create a Foreign Key?

sql sql-server foreign-keys

I am working on my assignment. It has 8 tables. Each table has a primary key. What do i do to generate a foreign key to a table?

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.