• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Difference between Destination and queue/topic

 
thomas jacob
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a difference between the term used JMS destination and queue/topic or are they the same terms which can be used interchangably? I know what's a queue and topic.
 
arulk pillai
Author
Ranch Hand
Posts: 3387
 
Andrea Gazzarini
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A queue is a point-to-point channel and therefore can have n senders and only one receiver (from a single message point of view) : that means that a message could be consumed by only one receiver.

A topic is a publish-subscriber channel and therefore can have n senders and n receivers. That means tat a single message could be consumed by n receivers.

Regards
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic