Skip to content

Commit

Permalink
Restore MESSAGE_* types (#3031)
Browse files Browse the repository at this point in the history
  • Loading branch information
iamluc authored Jan 10, 2025
1 parent d0d5899 commit c7414c8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/api/Type.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit c7414c8

Please sign in to comment.