Bug 459259

Summary: Return null from SessionManager::get() if there is no message (RHEL4)
Product: Red Hat Enterprise MRG Reporter: Gordon Sim <gsim>
Component: qpid-cppAssignee: messaging-bugs <messaging-bugs>
Status: CLOSED ERRATA QA Contact: Kim van der Riet <kim.vdriet>
Severity: low Docs Contact:
Priority: low    
Version: 1.0CC: freznice
Target Milestone: 1.0.1   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-10-06 19:00:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 453598    
Bug Blocks:    

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