Chapter 4. Message Endpoints

 

This chapter covers
  • Types of Endpoints and how they differ
  • Transaction boundaries around Endpoints
  • Endpoints under the hood

 

In the previous chapter, we covered message channels in detail. You now know that some channels accept subscribers to be called in an event-driven way, whereas others require polling consumers. The former enable synchronous invocation of a handler and thereby enable transactions to span both the producer and consumer. The latter offer the flexibility of even more loosely coupled interaction, but break that transaction boundary across separate threads for the producer and sender.

From the programming perspective, the event-driven model is easier to grasp. For example, the MessageHandler ...

Get Spring Integration in Action 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.