File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Difference between Destination and queue/topic
Joined: May 19, 2005
Aug 20, 2008 21:22:00
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.
Joined: May 31, 2007
Aug 20, 2008 21:48:00
It is the super interface for both Queue & Topic
Java Interview Questions and Answers Blog
Java Interview Books
Joined: Sep 09, 2002
Aug 21, 2008 01:18:00
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,<br />Andrea<br /> <br /><a href="http://www.linkedin.com/in/andreagazzarini" target="_blank" rel="nofollow">Andrea Gazzarini</a><br />Skype ID : gazzax72<br />Google Talk ID :
<br /><a href="http://www.andreagazzarini.blogspot.com" target="_blank" rel="nofollow">My Blog</a>
I agree. Here's the link:
subject: Difference between Destination and queue/topic
How can I define a destination.
Five new mock questions for SCBCD beta
about JMS......Need Help
JMS Queue and Topic
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014