File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes JMS queue design question 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 » Java » EJB and other Java EE Technologies
Bookmark "JMS queue design question" Watch "JMS queue design question" New topic
Author

JMS queue design question

saloni Bachchan
Greenhorn

Joined: Jun 08, 2012
Posts: 12
I am currently assigned the task of writing an application which will use JMS API to communicate using Apache qpid as the JMS provider.

so basically my application will have multiple instances of a server running.Each server will serve a set of unique desks.so each instance will only have data for the desks it is serving.

There will also be multiple instances of clients each configured by desk again.

Now when the client starts up, it will request the data for the desk it is serving.The request should only go to the server that has that desk data loaded and the response should only go back to the client who requested the data for that desk.

I am thinking of using queues for this.i am not sure if i should create only one request queue which will be used by all the servers or i should create seperate queues for each server.

For response ,I am planning to use temporary queues.

Not that the request from the client to the server is not very often.Say each client may send around 50 requests a day.

can someone please tell me if this is a good design?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JMS queue design question
 
Similar Threads
Delivery of message in jms to multiple clients
JMS Client - Server Design and Perfomance Query
JMS question
JMS Load Balancing In Websphere V7.0
Limit on number of JMS Q's on a single Bus