[openamq-dev] multiple channels per one connection

Nick Levine ndl at ravenbrook.com
Fri Sep 7 10:10:58 CEST 2007


   One of our unit-test cases started to fail after we switched to v 1.2c3.
   It used to pass in v 1.2c1. 

   It fails when test tries to open multiple session using the same
   connection on the same thread. 

   here is the error we see:

   ***
   tests: amq_client_agent.c:22258: action_send_channel_open: Assertion `
   ((amq_client_agent_channel_open_t *) thread->method->data)->channel_nbr
   == 1' failed.

   Program received signal SIGABRT, Aborted.
   ***

   It seems like multiple sessions (channels) on the same thread are not
   welcome anymore and you can have only one channel per thread per
   connection.

   Can somebody, please, confirm/clarify this behavior?

This is indeed the case. One of the developers told me on this list a
couple of weeks ago "the multi-channel code was full of holes and
never really tested properly, so we removed it."

http://lists.openamq.org/pipermail/openamq-dev/2007-August/000247.html
http://lists.openamq.org/pipermail/openamq-dev/2007-August/000249.html

- nick




More information about the openamq-dev mailing list