Bug 677358 - Durable Queue vs Persistent Message ?
Summary: Durable Queue vs Persistent Message ?
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: Messaging_Programming_Reference
Version: 1.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: 2.2
: ---
Assignee: Joshua Wulf
QA Contact: ecs-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-14 13:45 UTC by Raymond Mancy
Modified: 2014-12-08 01:07 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-25 14:23:20 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Raymond Mancy 2011-02-14 13:45:11 UTC
Hi,
In the "Messaging User Guide" in section 6.1. Persistent Messages, Durable Queues, and Guaranteed Delivery it has the following:

"In MRG Messaging, message persistence is used for persistent messages that are placed on durable queues. A durable queue is a queue that is associated with a persistent store. A queue must be declared persistent at the time it is created. For instance, in C++, the following code creates a durable queue:

session.queueDeclare(arg::queue=name, arg::durable=true);"

The part I find confusing is.

"A durable queue..."
"A queue must be declared persistent..."
"the following code creates a durable queue..."

I'm not sure if durable is being uses synonymously with persistent ?
Is a queue declared persistent by passing the durable arg?

Thanks

Comment 1 Joshua Wulf 2012-04-25 14:23:20 UTC
This book is being rewritten for 2.2, so I'm closing this bug, after noting the confusion caused by the wording of the existing book.

This quick explanation might make the situation clearer:

Durable queues can save persistent messages across server restarts, to redeliver them when the server starts again.

For the message to survive a shutdown of the server, it must be (a) marked persistent and (b) sent to a durable queue.

A queue is marked as durable by creating it with the durable argument.


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