summaryrefslogtreecommitdiff
path: root/qpid/cpp/bindings
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/cpp/bindings')
-rw-r--r--qpid/cpp/bindings/qmf2/python/qmf2.py4
-rw-r--r--qpid/cpp/bindings/qmf2/ruby/qmf2.rb2
2 files changed, 6 insertions, 0 deletions
diff --git a/qpid/cpp/bindings/qmf2/python/qmf2.py b/qpid/cpp/bindings/qmf2/python/qmf2.py
index 1d35b93601..601e68f7b6 100644
--- a/qpid/cpp/bindings/qmf2/python/qmf2.py
+++ b/qpid/cpp/bindings/qmf2/python/qmf2.py
@@ -17,6 +17,10 @@
# under the License.
#
+import warnings
+warnings.warn("The qmf2 module is deprecated. It will be removed in the future.",
+ Warning, stacklevel=2)
+
import cqmf2
import qpid_messaging
from threading import Thread
diff --git a/qpid/cpp/bindings/qmf2/ruby/qmf2.rb b/qpid/cpp/bindings/qmf2/ruby/qmf2.rb
index c14ecba4e1..b38aeae6dc 100644
--- a/qpid/cpp/bindings/qmf2/ruby/qmf2.rb
+++ b/qpid/cpp/bindings/qmf2/ruby/qmf2.rb
@@ -17,6 +17,8 @@
# under the License.
#
+warn 'The qmf2 module is deprecated. It will be removed in the future.'
+
require 'cqmf2'
require 'cqpid'
require 'thread'