File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes If JMS Server crashes, what happens to Standalone JMS Listener Client Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "If JMS Server crashes, what happens to Standalone JMS Listener Client" Watch "If JMS Server crashes, what happens to Standalone JMS Listener Client" New topic
Author

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

Gul Khan
Ranch Hand

Joined: Sep 03, 2003
Posts: 173
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

Joined: Feb 27, 2002
Posts: 8898

I dont think that the clients will be informed of the server crash.


Groovy
Srinivasa Raghavan
Ranch Hand

Joined: Sep 28, 2004
Posts: 1228
I hope when you are trying to listen to a unavailable queue , u'll get a exception.
Srini


Thanks & regards, Srini
MCP, SCJP-1.4, NCFM (Financial Markets), Oracle 9i - SQL ( 1Z0-007 ), ITIL Certified
Gul Khan
Ranch Hand

Joined: Sep 03, 2003
Posts: 173
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

Joined: Mar 17, 2000
Posts: 5782
Gul

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

Thank you!


Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: If JMS Server crashes, what happens to Standalone JMS Listener Client
 
Similar Threads
Similar to MDB in Hibernate?
Queue not a JMSDestination error on startup
What Happens to JMS Listener if JMS Server goes down?
Simple Question regarding JMS
Java Client to MQ behind Firewall! How to access