diff options
| author | Ken Giusti <kgiusti@apache.org> | 2011-10-12 17:42:27 +0000 |
|---|---|---|
| committer | Ken Giusti <kgiusti@apache.org> | 2011-10-12 17:42:27 +0000 |
| commit | bbfd87099b76999dfa016b21fade211929a4c038 (patch) | |
| tree | 34ff95f37feb436b970715bd89975747075e07b2 /cpp/src/qpid/broker/SessionState.cpp | |
| parent | 86d16a4fddda8256f3b494aeabf70eb0f041cf35 (diff) | |
| download | qpid-python-bbfd87099b76999dfa016b21fade211929a4c038.tar.gz | |
QPID-3417: C++ broker - support adding arrival timestamp to received messages.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1182490 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/SessionState.cpp')
| -rw-r--r-- | cpp/src/qpid/broker/SessionState.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/src/qpid/broker/SessionState.cpp b/cpp/src/qpid/broker/SessionState.cpp index ddd6ae3f5b..1ab17e9893 100644 --- a/cpp/src/qpid/broker/SessionState.cpp +++ b/cpp/src/qpid/broker/SessionState.cpp @@ -259,6 +259,8 @@ void SessionState::handleContent(AMQFrame& frame, const SequenceNumber& id) header.setEof(false); msg->getFrames().append(header); } + if (broker.isTimestamping()) + msg->setTimestamp(); msg->setPublisher(&getConnection()); msg->getIngressCompletion().begin(); semanticState.handle(msg); |
