Skip to content

Commit c7414c8

Browse files
authored
Restore MESSAGE_* types (#3031)
1 parent d0d5899 commit c7414c8

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/api/Type.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,15 @@ class Type
1111
const SQL = 'sql';
1212
const QUEUE = 'queue';
1313

14+
/**
15+
* @deprecated use QUEUE instead
16+
*/
17+
const MESSAGE_CONSUMER = 'queue';
18+
/**
19+
* @deprecated use QUEUE instead
20+
*/
21+
const MESSAGE_PRODUCER = 'queue';
22+
1423
const CASSANDRA = 'cassandra';
1524
const ELASTICSEARCH = 'elasticsearch';
1625
const MEMCACHED = 'memcached';

0 commit comments

Comments
 (0)