• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh

JMS

 
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Point-To-Point Messaging = One receiver AND ( One sender OR many senders ) ?
Is PTP the same at "message queue system" ?
 
Ranch Hand
Posts: 311
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Roger,

Originally posted by Roger Oliver:
Point-To-Point Messaging = One receiver AND ( One sender OR many senders ) ?


Message Sending Type Models:
Point-to-Point Type Messaging:
One message is sent from one sender to one receiver.
Pull-based.
Publish-and-Subscribe Type Messaging:
One message is sent from one sender (publisher) to one topic but thereby indirectly to all N receipients (subscribers) who have subscribed for this topic.
Push-based.

Originally posted by Roger Oliver:
Is PTP the same at "message queue system"?


I can not answer exactly about that phrase, but:
- PTP (Point-to-Point) works via a "virtual channel" called a "message queue".
- Publish-and-Subscribe works via a "virtual channel" called a "topic".
Thomas.
 
Ranch Hand
Posts: 1551
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Many times PTP is described as message queue.
I suspect MQSeries gets it's name from this.
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi there.
Point-to-point messaging is where one or more senders need to send messages to a single receiver.
There are two basic implementations of ptp messaging, the first is where the sender sends a message directly to a receiver, while the second is where a sender sends a message to a specific queue (which may provide delivery-guarantees).
See the diagram on this page: http://my.execpc.com/~gopalan/jms/jms.html for a clear explanation.
In summary, yes ptp is the same as a message queue system, and yes you can have many senders.
Cheers, Andy
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic