[ openjms-Bugs-665495 ] receive() blocks all sessions on tcp
"SourceForge.net" <[email protected]>
| Newsgroups | gmane.comp.java.openjms.devel |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #665495, was opened at 2003-01-10 16:15 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=474136&aid=665495&group_id=54559 Category: message engine Group: v0.7.3.1 Status: Open Resolution: None Priority: 9 Submitted By: Jim Alateras (jalateras) Assigned to: Jim Alateras (jalateras) Summary: receive() blocks all sessions on tcp Initial Comment: In 0.7.3 the code was modified so that a receive() actually ended up blocking in the server code. Previously, it blocked in the client thread. In TCP mode all sessions share a single connection so blocking the client on the server side actually causes all other session under the same connection to block. Try have 2 sessions one publishing and one calling receive() to reproduce this behaviour ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=474136&aid=665495&group_id=54559