summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker/Channel.cpp
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2006-11-24 17:21:47 +0000
committerGordon Sim <gsim@apache.org>2006-11-24 17:21:47 +0000
commitd6befaeb77df8a09845e4c11070afe8ab4d5052d (patch)
treeb5f9ec40dedf2053d04c87f0117f0953a3026180 /cpp/src/qpid/broker/Channel.cpp
parentb442c78351bf330cf23b67e86aa17424d5a78966 (diff)
downloadqpid-python-d6befaeb77df8a09845e4c11070afe8ab4d5052d.tar.gz
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
Diffstat (limited to 'cpp/src/qpid/broker/Channel.cpp')
-rw-r--r--cpp/src/qpid/broker/Channel.cpp2
1 files changed, 2 insertions, 0 deletions
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){