This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Message selector versus Temporary Queues 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 » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Message selector versus Temporary Queues" Watch "Message selector versus Temporary Queues" New topic
Author

Message selector versus Temporary Queues

Senthil Kumar
Ranch Hand

Joined: Mar 13, 2006
Posts: 264
Hi,
My system calls an external JMS system synchronously. Which would perform better in this scenario, expecially when the load is quite high, say nearly 6000 users synchronously listening to the extenal Queue(one static queue with message selector/x nos of temporary queue). Anyone have done this in their project.


when you really want something, all the universe always conspires in your favour.<br /> <br />SCJP1.5-77%<br />SCWCD-89%
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30050
    
149

While having six thousand queues seems like a bad idea, using the same queue for so many purposes doesn't sound better. Maybe just I've never used queues on the scale though and that's why it feels off.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Jorge Coll
Greenhorn

Joined: Sep 02, 2011
Posts: 8
Hi,

I think that temporary queues on a well config cluster could be the best solution. As I understand so many concurrent threads working with message selectors could have the wrost performance.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Message selector versus Temporary Queues
 
Similar Threads
Message selectors versus Temporary Queues
JMS design question
Visibility of Temporary Queues outide of its MOM
Using JMS for synchronous communication
Pausing/suspending Message consumption in weblogic 9.2