Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JMS

 
Claudio Malso
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • 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" ?
 
Thomas Taeger
Ranch Hand
Posts: 311
  • Mark post as helpful
  • send pies
  • 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.
 
Rufus BugleWeed
Ranch Hand
Posts: 1551
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Many times PTP is described as message queue.
I suspect MQSeries gets it's name from this.
 
Andrew Turnbull
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic