diff options
| author | Gordon Sim <gsim@apache.org> | 2007-10-05 17:28:48 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2007-10-05 17:28:48 +0000 |
| commit | 56f678f423f49dff9a79f3f6a0660f00e7da5cc3 (patch) | |
| tree | 9ce1540e75c51db731ba39266e927f4766107173 /cpp/src/qpid/client | |
| parent | 7defea948eda5d75e2cb665b2c46ab9aecbb73e0 (diff) | |
| download | qpid-python-56f678f423f49dff9a79f3f6a0660f00e7da5cc3.tar.gz | |
Don't recover messages for cancelled subscriptions.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@582353 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/client')
| -rw-r--r-- | cpp/src/qpid/client/Message.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/src/qpid/client/Message.h b/cpp/src/qpid/client/Message.h index dab7f3c8d8..1fc199e8d8 100644 --- a/cpp/src/qpid/client/Message.h +++ b/cpp/src/qpid/client/Message.h @@ -75,6 +75,11 @@ public: return method; } + const framing::SequenceNumber& getId() const + { + return id; + } + private: //method and id are only set for received messages: const framing::MessageTransferBody method; |
