O'Reilly logo

Spring Integration in Action by Mark Fisher, Jonas Partner, Marius Bogoevici, Iwein Fuld

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

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 ...

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