summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/framing
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2007-11-08 14:05:38 +0000
committerGordon Sim <gsim@apache.org>2007-11-08 14:05:38 +0000
commit604a216da725da2770978756de763caa5c66e5c7 (patch)
tree194340aa45f23efb6fc037d11f61ff63d47ffc7f /cpp/src/qpid/framing
parentcb5d95fba16cbe2a0e03eae6ba6c9ce776b88327 (diff)
downloadqpid-python-604a216da725da2770978756de763caa5c66e5c7.tar.gz
Make standard exchanges durable
Ensure flags are set correctly for recovered messages with no content git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@593159 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/framing')
-rw-r--r--cpp/src/qpid/framing/frame_functors.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/cpp/src/qpid/framing/frame_functors.h b/cpp/src/qpid/framing/frame_functors.h
index d5b1321d72..992d389faf 100644
--- a/cpp/src/qpid/framing/frame_functors.h
+++ b/cpp/src/qpid/framing/frame_functors.h
@@ -111,6 +111,12 @@ public:
}
};
+class MarkLastSegment
+{
+public:
+ void operator()(AMQFrame& f) const { f.setEof(true); }
+};
+
}
}