From c7414c82f1e484dd3108d0f710e85d1662baac36 Mon Sep 17 00:00:00 2001 From: Luc Vieillescazes Date: Sat, 11 Jan 2025 00:10:37 +0100 Subject: [PATCH] Restore MESSAGE_* types (#3031) --- src/api/Type.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/api/Type.php b/src/api/Type.php index 1b993442d6..9e9767ffa5 100644 --- a/src/api/Type.php +++ b/src/api/Type.php @@ -11,6 +11,15 @@ class Type const SQL = 'sql'; const QUEUE = 'queue'; + /** + * @deprecated use QUEUE instead + */ + const MESSAGE_CONSUMER = 'queue'; + /** + * @deprecated use QUEUE instead + */ + const MESSAGE_PRODUCER = 'queue'; + const CASSANDRA = 'cassandra'; const ELASTICSEARCH = 'elasticsearch'; const MEMCACHED = 'memcached';