-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Description
rsmq.sendMessage does not check whether the relevant queue (options.qname) exists, and if missing it returns a queueNotFound error
At the same time queue-wrapper does not check whether the queue exists before sending the message, neither it provides a method to create the queue if missing
The end result is that messages are not sent by queue-wrapper if the queue is not created by something else or if the queue is emptied and deleted.
We should either check the queue and create it if missing in the send request, or provide a method for this check/create to be used by external calls, or use rsmq-worker instead