imho it depends on the number of different requests.
If you have only a few I'd go for queues.
But queues don't scale as good as topics with selectors, ie there'll
be a point when queues take more resources than a topic.
-----Urspr�ngliche Nachricht-----
Von: Alvin Wang [mailto:[EMAIL PROTECTED]]
Gesendet: Fr 01.03.2002 17:54
An: [EMAIL PROTECTED]
Cc:
Betreff: which option is better?
Hi!
I have several kinds of requests that will be sent to JMS. I have two
options:
1. One topic, subscribers use selectors to choose which kind of request they
want exclusively.
2. Mutiple queues. Each queue is dedicated to one kind of request.
Can anyone tell me which option has better performance. I think the 1st one
is easier to code and deploy. Thanks!
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".
==========================================================================To
unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".