Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

If JMS Server crashes, what happens to Standalone JMS Listener Client

 
Gul Khan
Ranch Hand
Posts: 173
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have a java standalone client listening to a JMS Server(MQ Series). If for some reason the JMS Server crashes, what will happen to Client listening to its Queue.
Will it keep listening and not receive any messages?
Will it throw any exception or something like that?

Thanks in advance for any help.

GUL
[ October 06, 2004: Message edited by: pervaiz gul ]
 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I dont think that the clients will be informed of the server crash.
 
Srinivasa Raghavan
Ranch Hand
Posts: 1228
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I hope when you are trying to listen to a unavailable queue , u'll get a exception.
Srini
 
Gul Khan
Ranch Hand
Posts: 173
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes I will get an Exception but when I try to start listener on a crashed server. But what if the listener is already listening, would the listener just keep listening to nothing. That means the user will never know that the server is down.
 
Ajith Kallambella
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Gul

Unfortunately your name violates our naming policy. Please take a quick look at the rules and edit your profile accordingly.

Thank you!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic