Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How does one depict synchronous JMS communication in sequence diagram?

 
Jesson Joy
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!!
Screen shot 2012-01-14 at 6.19.19 PM.png
sample sync jms call
[Thumbnail for Screen shot 2012-01-14 at 6.19.19 PM.png]
 
Murali Ranga
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In my design the external queues were represented in a similar manner,I used asynchronous communication
 
Deepak Bala
Bartender
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have not had to represent this before either, but this looks like the way to go
 
Joe O'Toole
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic