diff options
author | Rajith Muditha Attapattu <rajith@apache.org> | 2007-11-28 20:53:51 +0000 |
---|---|---|
committer | Rajith Muditha Attapattu <rajith@apache.org> | 2007-11-28 20:53:51 +0000 |
commit | ac161c0a176aafe342d69e2203d4f36bbb96ee48 (patch) | |
tree | 65d9fde99317e1a0ea4322760c3d57dc1f293155 /cpp/src/tests/QueueTest.cpp | |
parent | 04fb4fdba88145a473b9a3a56ac6fd531af89af2 (diff) | |
download | qpid-python-ac161c0a176aafe342d69e2203d4f36bbb96ee48.tar.gz |
Modified the code to not keep the command in the map if "enable_command_replay" is false.
However we still need to keep the command_id to implement sync properly.
By default "enable_command_replay" is false.
The earlier implementation completely avoided incrementing the command count and putting it in the map.
This causes a problem as it will break the contract for sync. When the client code calls sync we need to only return when the broker has sent the EM that is at or above that command_id. So we need to keep that around.
Keeping track of command_ids is different from keeping commands around. We keep commands around for reply, but we need to keep track of command_id's to implement the execution layer properly.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@599144 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/QueueTest.cpp')
0 files changed, 0 insertions, 0 deletions