aspose file tools
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes How does one depict synchronous JMS communication in sequence diagram? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Professional Certification » Architect Certification (SCEA/OCMJEA)
Reply Bookmark "How does one depict synchronous JMS communication in sequence diagram?" Watch "How does one depict synchronous JMS communication in sequence diagram?" New topic
Author

How does one depict synchronous JMS communication in sequence diagram?

Jesson Joy
Greenhorn

Joined: Aug 03, 2011
Posts: 3
So I have an assignment to make synchronous JMS call to an external system, wait for response and then continue processing. While a synchronous blocking JMS(response/reply) model is in itself a little questionable, I'm struggling with how to show this in a sequence diagram?

Here's what I have now... please advice! Thanks!!
[Thumb - Screen shot 2012-01-14 at 6.19.19 PM.png]
 Filename Screen shot 2012-01-14 at 6.19.19 PM.png [Disk] Download
 Description sample sync jms call
 Filesize 14 Kbytes
 Downloaded:  5 time(s)

Murali Ranga
Ranch Hand

Joined: Dec 16, 2011
Posts: 38
In my design the external queues were represented in a similar manner,I used asynchronous communication
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6371

I have not had to represent this before either, but this looks like the way to go


SCJP 6 articles - SCJP 5/6 mock exams - SCJP Mocks - SCJP 5 Mock exam (Word document ) - SCJP 5 Mock exam in Java.Inquisition format
Joe O'Toole
Ranch Hand

Joined: Mar 02, 2009
Posts: 50
Hi

Just wondering if your sequence flow contains a call to a web service should you handle in the same manner or should you just show a call to your object which calls the Web Service.

Thanks
Joe
 
 
subject: How does one depict synchronous JMS communication in sequence diagram?
 
Threads others viewed
Sequence Diagram
A question about UML - sequence diagrams
synchronous messaging v/s Request response pattern
Represent Web Services in Sequence Diagram
difference between sequence and collaboration diagrams
IntelliJ Java IDE