CHAPTER 6

image

JMS Transactions

This chapter explains how to reliably send and receive JMS messages with local JMS transactions and explicit or implicit acknowledge modes. While explaining the main messaging concepts in the preceding chapter, we skipped one of the most important aspects of messaging communication: reliability. The Java Message Service communicates in most cases via a network. And networks commonly fail. Therefore, if we rely on messaging communication, we need to make sure that this communication is fault-tolerant.

This concept is similar to data persistence, because persisting data needs to be reliable and fault-tolerant also. You ...

Get Pivotal Certified Spring Enterprise Integration Specialist Exam now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.