From 9d718c2348708b0b27ce9fb9fcbf05c4b0a997cc Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Wed, 27 Sep 2006 16:44:02 +0000 Subject: Moved ack tests to basic class, added test for requeueing on recovery. Implemented requeuing on recovery. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@450504 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/broker/inc/Message.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cpp/broker/inc/Message.h') diff --git a/cpp/broker/inc/Message.h b/cpp/broker/inc/Message.h index 37a0c9b2c8..7a239adace 100644 --- a/cpp/broker/inc/Message.h +++ b/cpp/broker/inc/Message.h @@ -39,6 +39,7 @@ namespace qpid { string routingKey; const bool mandatory; const bool immediate; + bool redelivered; qpid::framing::AMQHeaderBody::shared_ptr header; content_list content; @@ -61,6 +62,7 @@ namespace qpid { void deliver(qpid::framing::OutputHandler* out, int channel, string& consumerTag, u_int64_t deliveryTag, u_int32_t framesize); + void redeliver(); friend bool route(Message::shared_ptr& msg, ExchangeRegistry* registry); -- cgit v1.2.1