What are the criteria for choosing the point-to-point messaging model over the publish/subscribe model, and vice versa?

Jerry Smith

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.
0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



About | Sitemap | Contact