Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How does one depict synchronous JMS communication in sequence diagram?  RSS feed

 
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
[Thumbnail for Screen-shot-2012-01-14-at-6.19.19-PM.png]
sample sync jms call
 
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!