summaryrefslogtreecommitdiff
path: root/qpid/cpp
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2013-11-11 18:13:16 +0000
committerGordon Sim <gsim@apache.org>2013-11-11 18:13:16 +0000
commitf17ac19aab685facb3fc00a438275bf8ced025c3 (patch)
treef54f854276fb7caf5fa0555abb8b7c50a53bf09c /qpid/cpp
parent7da8e7d69ddd0496de8ef67ae13e662649f56b3e (diff)
downloadqpid-python-f17ac19aab685facb3fc00a438275bf8ced025c3.tar.gz
QPID-5324: don't ignore unrecognised filter, throw exception
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1540794 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp')
-rw-r--r--qpid/cpp/src/qpid/broker/Queue.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/qpid/broker/Queue.cpp b/qpid/cpp/src/qpid/broker/Queue.cpp
index a805e110ad..a096c5929a 100644
--- a/qpid/cpp/src/qpid/broker/Queue.cpp
+++ b/qpid/cpp/src/qpid/broker/Queue.cpp
@@ -693,7 +693,7 @@ namespace {
}
}
}
- QPID_LOG(error, "Ignoring unrecognized message filter: '" << *filter << "'");
+ throw qpid::Exception(QPID_MSG("Unrecognized message filter: '" << *filter << "'"));
}
return new MessageFilter();
}