
MessageQueueServiceBase から拡張された独自のキュークラスが必要です。
現在のところ、キュードライバとして bull-mqbull-mq のみをサポートしています。
新しいキューを作成して使用する手順
- Add a queue name for your new queue under enum
MESSAGE_QUEUES. - 依存トークンとしてキュー名を持つキューのファクトリ実装を提供します。
- Inject the queue that you created in the required module/service with the queue name as the dependency token.
- トークンベースのインジェクションを用いたワーカークラスをプロデューサーと同様に追加します。