wood burning stoves 2.0*
The moose likes BEA/Weblogic and the fly likes Difference between Destination and queue/topic Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Difference between Destination and queue/topic" Watch "Difference between Destination and queue/topic" New topic

Difference between Destination and queue/topic

thomas jacob
Ranch Hand

Joined: May 19, 2005
Posts: 91
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
Ranch Hand

Joined: May 31, 2007
Posts: 3219
It is the super interface for both Queue & Topic


Java Interview Questions and Answers Blog | Amazon.com profile | Java Interview Books
Andrea Gazzarini
Ranch Hand

Joined: Sep 09, 2002
Posts: 125
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 : a.gazzarini@gmail.com<br /><a href="http://www.andreagazzarini.blogspot.com" target="_blank" rel="nofollow">My Blog</a>
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Difference between Destination and queue/topic
Similar Threads
MDB question.
JMS Queue and Topic
about JMS......Need Help
Five new mock questions for SCBCD beta
How can I define a destination.