Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

[jms] jms service failure protection

 
Harm de Laat
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I have two servers. The first server (A) checks the filesystem for new files. If a new file is found a (JMS) message should be send to the second server (B) to do some processing.

Both machines run JBoss 3.2.3 application server.

I just read the JMS tutorial from sun. And read the following:

The PERSISTENT delivery mode, which is the default, instructs the JMS provider to take extra care to ensure that a message is not lost in transit in case of a JMS provider failure. A message sent with this delivery mode is logged to stable storage when it is sent.


Does this mean that when server B (for whatever reason) is down, and server A tries to send a message to B the message is persisted and tried again later?

I have to be absolutely certain that all messages eventualy get to server B, regardless if server B was down for a period of time.

What would be your strategy on implementing this?

Regards,

Harm de Laat
Informatiefabriek
The Netherlands
 
I'm still in control here. LOOK at this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!