O'Reilly logo

Sams Teach Yourself EJB in 21 Days by Krishna Kothapalli, Ragae Ghaly

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Designing Reliable Messaging Clients

JMS applications are loosely coupled components and modules that work together in a flexible manner. There are some design considerations that can enhance the reliability and the integrity of your JMS applications. The following sections discuss some of these:

  • Message persistence to guarantee message delivery

  • Acknowledgment, priority, and time-to-live

  • Transaction support

  • Temporary destination

Specifying Message Persistence

JMS supports two delivery modes for messages: persistent and non-persistent. The persistent delivery mode, which is the default, is based on guaranteed delivery. The JMS provider will take extra care to ensure that a message is not lost in case of a JMS provider failure. A message sent with ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required