diff options
author | Gordon Sim <gsim@apache.org> | 2008-05-01 22:20:24 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2008-05-01 22:20:24 +0000 |
commit | 4c8aa15df3877d0848002f5d89cfa5b976dc5005 (patch) | |
tree | d0cf9c9d7f2568216d52f62bb547c3605041f716 /cpp/src/qpid/broker/Queue.cpp | |
parent | 4a05e650fc2d1a3a729e2c0409d3e11963b02de8 (diff) | |
download | qpid-python-4c8aa15df3877d0848002f5d89cfa5b976dc5005.tar.gz |
Boost's string split function causes problems on older versions of the library. Replaced with homegrown equivalent.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@652689 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/Queue.cpp')
-rw-r--r-- | cpp/src/qpid/broker/Queue.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/cpp/src/qpid/broker/Queue.cpp b/cpp/src/qpid/broker/Queue.cpp index 06009a208d..4ac061ac25 100644 --- a/cpp/src/qpid/broker/Queue.cpp +++ b/cpp/src/qpid/broker/Queue.cpp @@ -26,6 +26,7 @@ #include "MessageStore.h" #include "QueueRegistry.h" +#include "qpid/StringUtils.h" #include "qpid/log/Statement.h" #include "qpid/framing/reply_exceptions.h" #include "qpid/sys/Monitor.h" @@ -37,8 +38,6 @@ #include <boost/bind.hpp> #include <boost/intrusive_ptr.hpp> -#include <boost/algorithm/string/classification.hpp> -#include <boost/algorithm/string/split.hpp> using namespace qpid::broker; using namespace qpid::sys; @@ -517,9 +516,9 @@ void Queue::configure(const FieldTable& _settings) traceId = _settings.getString(qpidTraceIdentity); std::string excludeList = _settings.getString(qpidTraceExclude); if (excludeList.size()) { - boost::split(traceExclude, excludeList, boost::is_any_of(", ") ); + split(traceExclude, excludeList, ", "); } - QPID_LOG(info, "Configured queue " << getName() << " with qpid.trace.id='" << traceId + QPID_LOG(debug, "Configured queue " << getName() << " with qpid.trace.id='" << traceId << "' and qpid.trace.exclude='"<< excludeList << "' i.e. " << traceExclude.size() << " elements"); if (mgmtObject.get() != 0) |