summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp')
-rw-r--r--cpp/src/qpid/broker/DtxHandlerImpl.cpp10
-rw-r--r--cpp/src/tests/Makefile.am4
2 files changed, 3 insertions, 11 deletions
diff --git a/cpp/src/qpid/broker/DtxHandlerImpl.cpp b/cpp/src/qpid/broker/DtxHandlerImpl.cpp
index e07fdf80bf..15ece77c6f 100644
--- a/cpp/src/qpid/broker/DtxHandlerImpl.cpp
+++ b/cpp/src/qpid/broker/DtxHandlerImpl.cpp
@@ -20,20 +20,12 @@
#include <boost/format.hpp>
#include "Broker.h"
#include "Session.h"
+#include "qpid/framing/constants.h"
using namespace qpid::broker;
using namespace qpid::framing;
using std::string;
-const int XA_RBROLLBACK(1);
-const int XA_RBTIMEOUT(2);
-const int XA_HEURHAZ(3);
-const int XA_HEURCOM(4);
-const int XA_HEURRB(5);
-const int XA_HEURMIX(6);
-const int XA_RDONLY(7);
-const int XA_OK(8);
-
DtxHandlerImpl::DtxHandlerImpl(CoreRefs& parent) : CoreRefs(parent) {}
// DtxDemarcationHandler:
diff --git a/cpp/src/tests/Makefile.am b/cpp/src/tests/Makefile.am
index 9d3d86b091..874a9a448a 100644
--- a/cpp/src/tests/Makefile.am
+++ b/cpp/src/tests/Makefile.am
@@ -93,8 +93,8 @@ broker_unit_tests = \
TxBufferTest \
TxPublishTest \
ValueTest \
- MessageHandlerTest
-# MessageBuilderTest
+ MessageHandlerTest \
+ MessageBuilderTest
#client_unit_tests = \
ClientChannelTest