summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/amqp/Decoder.cpp
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2013-07-05 16:06:14 +0000
committerAndrew Stitcher <astitcher@apache.org>2013-07-05 16:06:14 +0000
commit976e6b8f6aff52b47fc2767c679c01c9a7ed7055 (patch)
treee43547abb71b9ea18edc87ea0feb67edfe08f90d /cpp/src/qpid/amqp/Decoder.cpp
parent71d01905647f73d18c03f9509d3d9c6e9f6b5f1f (diff)
downloadqpid-python-976e6b8f6aff52b47fc2767c679c01c9a7ed7055.tar.gz
QPID-4627: Implement most of the remaining selector special identifiers
Implemented: message_id, correlation_id, jms_type, creation_time, absolute_expiry_time There are a couple of caveats: The easily available way to get jms_type doesn't distinguish between an empty string and the property not being sent at all. So we treat this case as property not set as that seems like it will get most cases correct (why bother to send an empty jms_type?). The creation_time property is currently implemented as the time the message was put on the queue (if enabled in the broker) as amqp 0_10 has no standard way to indicate the creation time and we're not currently holding the creation time for amqp 1.0 messages. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1500052 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/amqp/Decoder.cpp')
-rw-r--r--cpp/src/qpid/amqp/Decoder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/amqp/Decoder.cpp b/cpp/src/qpid/amqp/Decoder.cpp
index 9c577e6c92..1d5abc99c7 100644
--- a/cpp/src/qpid/amqp/Decoder.cpp
+++ b/cpp/src/qpid/amqp/Decoder.cpp
@@ -263,7 +263,7 @@ void Decoder::readValue(Reader& reader, uint8_t code, const Descriptor* descript
break;
case LIST0:
- reader.onStartList(0, CharSequence::create(0, 0), descriptor);
+ reader.onStartList(0, CharSequence::create(), descriptor);
reader.onEndList(0, descriptor);
break;
case LIST8: