Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6883169
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T05:20:53+00:00 2026-05-27T05:20:53+00:00

Maybe I am asking the wrong question here. what I’m trying to do: multiple

  • 0

Maybe I am asking the wrong question here.

what I’m trying to do: multiple producers push data in dynamic categories into a Named exchange. multiple consumers need to pick up this data from these dynamically named queues and act on them.

the problem is that all of the examples of consumption that I see require the consumer/subscription to have a specific queue name, and my consumers dont know the names of the queues, nor do they need to know this.

why am I doing this? two reasons:

  1. I can have N of these dynamic categories at a time. I’d like the queue to serve these categories equally. currently we have one queue (msmq) which accepts all of these categories and serves them in FIFO (which means that some categories are starved for some time).

  2. Being able to serve all categories equally, rather than fifo, lets me come up with interesting QoS (by default I understand that Rabbit will round-robin serve messages).

so, back to my question (if its valid): is it possible to consume messages from a queue?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T05:20:53+00:00Added an answer on May 27, 2026 at 5:20 am

    If having dynamic subscribers is an option, I’d like to suggest two possible solutions:

    Solution 1:

    • Use a topic exchange.
    • Use the mandatory delivery flag when publishing messages to your exchange.
    • If a message is rejected: create a queue, bind it for the particular routing key and start a subscriber on the queue, the re-publish the rejected message.
    • Use auto-deleting queues so when subscriber stops, their queues will disappear and the whole process of auto-creation can restart.

    Solution 2:

    • Use a topic exchange.
    • Use the immediate delivery flag when publishing messages to your exchange.
    • If a message is rejected: create a queue, bind it for the particular routing key and start a subscriber on the queue, the re-publish the rejected message.
    • Use persistent queues. Since queue creation is idempotent, it’s OK to go through the re-creation procedure, the essential part here is ensuring a live subscriber is listening on the queue.

    If dynamic subscribers are not an option, then here is what I propose. Assuming you’re limited to n subscribers:

    • Define a strategy that hashes the dynamic categories in n routing keys,
    • Use a direct exchange,
    • Bind n queues on it for the n routing keys,
    • Have one subscriber per queue.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I may be asking the wrong question here, I'm willing to change it if
Maybe I am asking the wrong question completely. I have read quite a bit
Maybe I'm asking the wrong question, but I can't seem to find what I'm
I may be asking the wrong question here, and I'm open to that, so
I may be asking the wrong question but I am still fairly new to
Apparently I was asking the wrong question in my earlier post. I have a
I may be asking the wrong question, but what I need is to add
I maybe asking a dumb question, but I looked at the wikipedia page for
My problem is a bit hairy, and I may be asking the wrong questions,
I'm new to XML validation using .xsd files. Maybe I'm not even asking the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.