File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes JMS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "JMS" Watch "JMS" New topic
Author

JMS

Claudio Malso
Ranch Hand

Joined: Nov 05, 2002
Posts: 50
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
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.


www.classic-and-class.com - www.evalulearn.com
Interfaces are the glue of OO.
Rufus BugleWeed
Ranch Hand

Joined: Feb 22, 2002
Posts: 1551
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
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JMS
 
Similar Threads
32 bit class file on 64 bit runtime
Approaching J2EE Development
Multiple threads of a servlet instance and servletConfig
SCJP 1.4 Answer Options Format - Like Dan or Marcus ?
[newbie] Vector of arrays...how to add them