jQuery in Action, 3rd edition
The moose likes EJB and other Java EE Technologies and the fly likes clustered envirornment - Topic / Queue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "clustered envirornment - Topic / Queue" Watch "clustered envirornment - Topic / Queue" New topic

clustered envirornment - Topic / Queue

kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1428
In the clustered environment Whether Topic / Queue which one is better ?
Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

Well, you use them for different purposes so you are unlikely to swap from one to the other just because the application is deployed in a cluster.

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Mohana Murali

Joined: Sep 26, 2002
Posts: 27
Use Topic if you want to send message more than one destinations. Use Queue if you want to send message to one destination.

We should not choose Topic or Queue with respect to Cluster or non cluster.
If you use MQ and Queue type messaging. MQ admin can also control MQ clustering instead of application clustering. Same is true for Topic also. So do not bother much about clustering when you make decision about Queue or Topic. Go by requirement suitability.
I agree. Here's the link: http://aspose.com/file-tools
subject: clustered envirornment - Topic / Queue
jQuery in Action, 3rd edition