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

  • Home
  • SEARCH
  • 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 8834065
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T08:55:41+00:00 2026-06-14T08:55:41+00:00

I have a simple scenario, where publisher(my java application) publish the message on topic.

  • 0

I have a simple scenario, where publisher(my java application) publish the
message on topic. 50 clients have subscribed on same JMS topic.As soon as message is published on topic, all the 50 subscriber will be notified
.Say only one subscriber(0ut 0f 50) process the message and send the acknowledgement
after processing.(Once this client processing is done, i can see the message as consumed
on apache MQ console. Otherwise if no client sends the acknowledgment after receiving the
message i see the message as pending message).

Now question is once any client sends the acknowledgment and any
new client subscribe on topic, will he be notified about the message ? or it works in a way where message has been
consumed by any of the client (which internally means acknowledgment has been sent by any of the client), no further notification will be
sent to any new subscriber and message will be taken off from the Topic(This is the behaviuor i am experiencing but looks like
it should not work in this fashion as per as per Publish/subscribe model under http://en.wikipedia.org/wiki/Java_Message_Service )?

  • 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-14T08:55:42+00:00Added an answer on June 14, 2026 at 8:55 am

    I have not worked with Apache MQ. But in general:

    In a Publish/Subscribe model, when a message is published, all subscribers will receive that publication.

    Acknowledgement by subscribers is only to messaging providers and not to the publisher. When a subscriber acknowledges the receipt of a message, that message is removed by the messaging provider so that the message is not delivered again.

    If a new subscriber comes in after a message is published on a topic, then the subscriber will not get that publication. Any new publication on the topic will be received by the subscriber. Some providers like IBM WebSphere MQ have a feature called “Retain Publication” wherein a copy of a publication is cached. Any new subscribers who come in after a publication is made will receive this cached publication. Retain publication feature is useful when there is a time delay between publications on a topic, new subscribers will get the cached publication immediately rather than waiting for a new publication to be made by publisher.

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

Sidebar

Related Questions

I have a very simple scenario involving a database and a JMS in an
Use scenario is pretty simple: I have a desktop only application that could be
I have a very simple scenario: My iPhone application contains a UIViewController implementation which
Here is the scenario: I have a java main process, which uses JMS to
I have a 'simple' scenario: Read some JSON file, Filter or change some of
I have a simple scenario where i want to output only json to the
I have a very simple scenario but poor experience in this area and googling
Beginner level question Scenario: Have simple string cocantation tool, that I might expand later
I have a very simple scenario, using NHibernate: one abstract base class animal; two
I have a very simple scenario which I cannot get to work. I am

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.