Point-To-Point Messaging = One receiver AND ( One sender OR many senders ) ? Is PTP the same at "message queue system" ?
Claudio
Thomas Taeger
Ranch Hand
Joined: Dec 16, 2002
Posts: 307
posted
0
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.
Many times PTP is described as message queue. I suspect MQSeries gets it's name from this.
Andrew Turnbull
Greenhorn
Joined: Nov 05, 2002
Posts: 4
posted
0
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