Chapter SeventeenGetting an Answer from Hello Software Pipelines

In our examples so far, we’ve only covered one-way transactions. But most applications require a response from a given service. In this chapter we address the issue by upgrading HelloPipelinesService to use Request-Response for its Message Exchange Pattern.

Request-Response Messaging

Request-Response messaging is vital to any application, but it has special implications in Software Pipelines architecture, as it does in any distributed computing architecture. Figure 17.1 shows how Request-Response works.

Figure 17.1 Request-Response

image

If the application performs ...

Get Software Pipelines and SOA: Releasing the Power of Multi-Core Processing 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.