From d6befaeb77df8a09845e4c11070afe8ab4d5052d Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Fri, 24 Nov 2006 17:21:47 +0000 Subject: Initial sketching out of staging functionality for large messages (i.e. allowing content to be stored as it arrives, rather than collecting it in memory until complete). git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@478923 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/broker/Channel.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cpp/src/qpid/broker/Channel.cpp') diff --git a/cpp/src/qpid/broker/Channel.cpp b/cpp/src/qpid/broker/Channel.cpp index 2894e294e0..8b26099f1f 100644 --- a/cpp/src/qpid/broker/Channel.cpp +++ b/cpp/src/qpid/broker/Channel.cpp @@ -167,6 +167,8 @@ void Channel::handlePublish(Message* _message, Exchange::shared_ptr _exchange){ void Channel::handleHeader(AMQHeaderBody::shared_ptr header){ messageBuilder.setHeader(header); + //at this point, decide based on the size of the message whether we want + //to stage it by saving content directly to disk as it arrives } void Channel::handleContent(AMQContentBody::shared_ptr content){ -- cgit v1.2.1