What are the criteria for choosing the point-to-point messaging model over the publish/subscribe model, and vice versa?
Location: http://www.jguru.com/faq/view.jsp?EID=1175 Created: Nov 19, 1999 Author: Jerry Smith (http://www.jguru.com/guru/viewbio.jsp?EID=9) There are two fundamental factors: • The point-to-point messaging model is designed for 1-to-1 messaging between a producing client and a consuming client. • The publish/subscribe messaging model provides two options not available with point-to-point messaging: • Clients can produce messages for an unknown, and/or unlimited, number of subscribers; that is, publish/subscribe messaging supports 1-to-n messaging operations. • Subscribing clients have the choice between durable and nondurable connections to the JMS server.
Related Questions
- Does the specification require that all JMS implementations provide both point-to-point and publish/subscribe messaging?
- What are the criteria for choosing the point-to-point messaging model over the publish/subscribe model, and vice versa?
- Why are there two separate JMS API domains, point-to-point and publish/subscribe, instead of just one?