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 8622641
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T07:06:22+00:00 2026-06-12T07:06:22+00:00

Maybe the title is not very descriptive. The case is the following, there’s a

  • 0

Maybe the title is not very descriptive.

The case is the following, there’s a system with one server, one producer and 1..n consumers.

Messages will be sent either directly to one consumer or to a broadcast so every consumer receives the message.

I’m actually thinking of creating one queue for each consumer for direct communication and then another queue for the broadcast messages. This way consumers should poll two queues for messages: it’s own and the broadcast one.

The actual question is: is there a way of doing this without the broadcast queue (so the consumers will only poll one queue)?


I actually solved this using diverts on runtime.

  • 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-06-12T07:06:24+00:00Added an answer on June 12, 2026 at 7:06 am

    I’m not sure what you’re asking. But you don’t send to a queue, you send to an Address:

    In hornetq-core terms:

    The producer will send to an Address, and you can create one or many queues on that address

    In JMS Terms, you could create either a JMS Queue or a JMS Topic, and you could create message subscription.

    also… there’s a feature on hornetq about Topics Hierarchy where you can create queues with Wildcards. Maybe that will help you achieve what you needed.

    I can improve this answer if you provide me a little bit more context.

    You can also look on Diverts. Look at the HornetQ Documentation for more details.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Maybe the title is not so descriptive. I'm working right with Galasoft MVVM framework,
I may not have worded my title very well, maybe more correct to say
maybe the title is not very clear, let me elaborate. I have a python
Maybe the title of the question is not very self-explanatory but I don't know
Maybe my title is not the best but here is what I really want.I
I'm not too great with jquery and maybe this title doesn't explain too well
I'm not sure if the question title is the best one but it was
sorry if the title is not very clear. I will try to explain now:
Maybe the title has no make sense. I'm creating factories, one of them is
Maybe the title is a little missleading but I'd like to ask you for

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.