Bug 459259 - Return null from SessionManager::get() if there is no message (RHEL4)
Summary: Return null from SessionManager::get() if there is no message (RHEL4)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-cpp
Version: 1.0
Hardware: All
OS: Linux
low
low
Target Milestone: 1.0.1
: ---
Assignee: messaging-bugs
QA Contact: Kim van der Riet
URL:
Whiteboard:
Depends On: 453598
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-08-15 13:30 UTC by Gordon Sim
Modified: 2011-08-12 16:20 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-10-06 19:00:10 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2008:0867 0 normal SHIPPED_LIVE Red Hat Enterprise MRG bug fix and enhancement update 2008-10-06 18:58:51 UTC

Description Gordon Sim 2008-08-15 13:30:06 UTC
+++ This bug was initially created as a clone of Bug #453598 +++

If there is no message on the queue, the user may wish the Sessionmanager::get()
call to return immediately.

--- Additional comment from gsim on 2008-07-10 10:44:58 EDT ---

merged to qpid.0-10 branch as r675598

Comment 2 Frantisek Reznicek 2008-09-10 07:50:37 UTC
RHTS test MRG_Messaging/qpid_nonblock_empty_q_bz453598 proves that Sessionmanager::get() call not blocks program flow in case no message on queue and returns 0 | NULL immediately. (ON_QA->VERIFIED)

Comment 4 errata-xmlrpc 2008-10-06 19:00:10 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2008-0867.html


Note You need to log in before you can comment on or make changes to this bug.