[openamq-dev] Threadsafe channels?

Pieter Hintjens ph at imatix.com
Tue Sep 25 18:49:31 CEST 2007


On 9/25/07, Birju Prajapati <birju.prajapati at schneidertrading.com> wrote:

> "AMQP is a multi-channel protocol, meaning that one network connection can carry an arbitrary number of parallel, independent virtual connections, which AMQP calls "channels". In WireAPI these are called "sessions" for compatability with other middleware APIs. NOTE: OpenAMQ supports exactly ONE session per connection."

The protocol allows multiplexing, but OpenAMQ does not (any longer)
support it.  We used to but it made the protocol machines quite
complex.  No-one used that code, and in performance tests it was no
better than one channel per connection.  So we killed it.  AMQP is
over-designed in this respect.

> Do you mean to say that the spec allows multiple channels, but the WireAPI only allows one?

Yes, indeed.

-Pieter


More information about the openamq-dev mailing list