summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/xml/XmlExchange.cpp
diff options
context:
space:
mode:
authorRajith Muditha Attapattu <rajith@apache.org>2010-03-05 23:24:08 +0000
committerRajith Muditha Attapattu <rajith@apache.org>2010-03-05 23:24:08 +0000
commit5198e3474da92d82799446a4ccd183aa83d9a839 (patch)
treee1180e6e0657c75ca4b3967a611c93787fa42c35 /cpp/src/qpid/xml/XmlExchange.cpp
parent60d8d546a05412990fa77ed1e4d724ef0a8a88dd (diff)
downloadqpid-python-5198e3474da92d82799446a4ccd183aa83d9a839.tar.gz
This is a fix for QPID-2432
Modified the XAResourceImpl to maintain the timeout value and set it to any XID in the start method if the time value > 0 Also the XID nulled after commit, rollback and forget, to prevent a timeout being set on an invalid xid. The setTimeout method will only set the timeout if xid is not null and if the timeout value is different from the previous value. Modified the test cases in FaulTest to adhere to the correct behaviour and also added a new test case to cover the issue mentioned in the JIRA. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@919666 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/xml/XmlExchange.cpp')
0 files changed, 0 insertions, 0 deletions