• Post Reply Bookmark Topic Watch Topic
  • New Topic

Mock question about messaging

 
Apratim Khandalkar
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all while solving one of the mocks following question come on messaging

In publish/subscribe architecture publisher send messges to
1) Specified node which is then redistributed to all subsribers.
2)Directly to all subscribers in topic subscribers list.
3)a designed queue.

Correct answer is 1) but i think correct answer sholud be 2)

What do all think about it ?
 
B.Sathish
Ranch Hand
Posts: 372
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The correct answer is 1. The publisher publishes a message to a topic, which is redistributed by the message server to all of the topic's subscribers.

You can read the first 5 chapters of JMS by Richard Monson Haefel book for SCEA - 1
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!