Skip to content

Queue with multiple workers, but a worker reads only messages of a specific type. #1197

@ADD-David-Sancho

Description

@ADD-David-Sancho

Hi, I'm working with Rebus and SQL Server and I have a question. I am working right now with several workers reading messages from a single queue, but I want a specific type of message to be processed with priority. To do this, I have thought that one of the several workers I have should only attend to messages of a specific type, while the rest consume any other type of message.

Is this possible?
Is it better to use another implementation of Rebus for these cases?
Could this be achieved by setting a higher priority to the messages that I want to be consumed first?

Thanks :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions