Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 453598

Summary: Return null from SessionManager::get() if there is no message
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:09:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 459259    

Description Gordon Sim 2008-07-01 14:38:31 UTC
If there is no message on the queue, the user may wish the Sessionmanager::get()
call to return immediately.

Comment 1 Gordon Sim 2008-07-10 14:44:58 UTC
merged to qpid.0-10 branch as r675598

Comment 3 Frantisek Reznicek 2008-09-10 07:50:24 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 5 errata-xmlrpc 2008-10-06 19:09:25 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-0640.html