Skip to content

Queue is not created if missing #6

@fra967

Description

@fra967

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions