This service will be undergoing maintenance at 00:00 UTC, 2017-10-23 It is expected to last about 30 minutes
Bug 453598 - Return null from SessionManager::get() if there is no message
Return null from SessionManager::get() if there is no message
Status: CLOSED ERRATA
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-cpp (Show other bugs)
1.0
All Linux
low Severity low
: 1.0.1
: ---
Assigned To: messaging-bugs
Kim van der Riet
:
Depends On:
Blocks: 459259
  Show dependency treegraph
 
Reported: 2008-07-01 10:38 EDT by Gordon Sim
Modified: 2011-08-12 12:23 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-10-06 15:09:25 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Gordon Sim 2008-07-01 10:38:31 EDT
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 10:44:58 EDT
merged to qpid.0-10 branch as r675598
Comment 3 Frantisek Reznicek 2008-09-10 03:50:24 EDT
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 15:09:25 EDT
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

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