Messaging Patterns in Service-Oriented Architecture, Part 1

xiaoxiao2021-03-06  79

Messaging Patterns in Service-Oriented Architecture, Part 1

Soumen Chatterjee

CAP Gemini Ernst & Young

April 2004

Summary: This first of a two-part series discusses how messaging patterns exist at different levels of abstraction in SOA Rather than explicitly declaring how systems will interact through low-level protocols and object-oriented architectures, SOA provides an abstract interface through which a. Service CAN Interact with Other Services Or Applications Through a loosely coupled (offen asynchronous), Message-based Communication Model. (23 Printed Pages)

CONTENTS:

Introduction: Process Configuration and Flexibility TrendsWhat Is Service-Oriented Architecture Discoverability and Dynamic Binding:? Messaging in SOAMessage Type PatternsMessaging Channel Patterns Message Routing PatternsService Consumer Patterns Conclusion

Introduction: Process Configuration and Flexibility Trends

The need for process flexibility is not a new trend. The trend has been evident for the last two decades. The Internet, Web, and mobile computing came along and enabled a global productivity boom, resulting in technology innovations that are constantly laying the foundation for Renovating industrial-agenting.

These solutions are built primarily on proprietary or system-based messaging platforms aimed at providing a platform for integration and communication between various business components. The typical method for accessing these systems is through a wide assortment of pre-built adapters that provide a bi-directional connectivity to many types of application processes. Rather than explicitly declaring how systems will interact through low-level protocols and object-oriented architectures, Service-Oriented Architecture (SOA) makes it possible to provide an abstract interface through which processes or services can interact. IT can be imaged as an interconnected process-based enterprise That Exposes a set of loosely coupled, coarse-grained services.what is service-oriented architecture?

SOA is the aggregation of components that satisfy a business need. It comprises components, services, and processes. Components are binaries that have a defined interface (usually only one), and a service is a grouping of components (executable programs) to get the Job Done. This Higher Level of Application Development Province A Strategic Advantage, Facilitating More Focus on the business request.

SOA is not a new approach to software design;. Some of the notions behind SOA have been around for years Jess Thompson, a research director at Gartner, argues that the underlying concepts date back to the early 1970s, when researchers started drawing boundaries around Software and providing access to That Software ONLY THROUGH Well-Defined Interfaces.

A service is generally implemented as a coarse-grained, discoverable software entity that exists as a single instance and interacts with applications and other services through a loosely coupled (often asynchronous), message-based communication model.The most important aspect of SOA is that it separates the service's implementation from its interface Service consumers view a service simply as a communication endpoint supporting a particular request format or contract How service executes service requested by consumers is irrelevant;.. the only mandatory requirement is that the service sends the response back to The consumer in the agreed format, specified in contract.

SOA Entities

SOA Consists of Various Entities Configured Together To Support The Find, Bind, And Execute Paradigm As Shown in Figure 1.

Figure 1. SOA EXPLAINED

Service consumer

The service consumer is an application, service, or some other type of software module that requires a service. It is the entity that initiates the locating of the service in the service registry, binding to the service over a transport, and executing the service function ....................

Service Provider

The service provider is the network-addressable entity that accepts and executes requests from consumers. It can be a mainframe system, a component, or some other type of software system that executes the service request. The service provider publishes its contract in the service registry For access by service consumers.

Service Registry

A service registry is a network-based directory that contains available services. It is an entity that accepts and stores contracts from service providers and provides those contracts to interested service consumers.Service Contract

A contract is a specification of the way a consumer of a service will interact with the service provider. It specifies the format of the request and response from the service. A service contract may require a set of preconditions and post conditions. The preconditions and post conditions specify the state that the service must be in to execute a particular function. The contract may also specify quality of service (QoS) levels, specifications for the nonfunctional aspects of the service.

Service Lease

The lease (the time for which the state may be maintained), which the service registry grants the service consumer, is necessary for services to maintain state information about the binding between the consumer and provider. It enforces loose coupling between the service consumer and the Service Provider, by limiting the Amount of Time Consumers And Providers May Be Bound. WITHOUT A Lease, a Consumer Could Bind To ITVICE Forever and NEVER Rebind to ITS Contract Again.

Discoverability and Dynamic Binding: Messaging In SOA

SOA supports the concept of dynamic service discovery. The service consumer queries the "service registry for a service, and the service registry returns a list of all service providers that support the requested service. The consumer selects the cost-effective service provider from the list And binds to the provider Using a Pointer from the service registry entry.

The consumer formats a request message based on the contract specifications, and binds the message to a communications channel that the service supports. The service provider executes the service and returns a message that conforms to the message definition in service contract.The only dependency between provider and consumer is the contract, which the third-party service registry provides. The dependency is a runtime dependency and not a compile-time dependency. All the information the consumer needs about the service is obtained and used at runtime. The service interfaces are discovered dynamically, and messages are constructed dynamically. The service consumer does not know the format of the request message or response message or the location of the service until the service is actually needed.

The Ability To Transform Messages Has The Benefit of Allowing Applications To Be Much More Decoupled from Each Other. Messaging Underpins SOA; We don't have SOA WITHOUT MESSAGING.

Messaging Patterns Catalog Withnin SOA Context

Messaging patterns exist at different levels of abstraction with the SOA. Some patterns are used to represent the message itself, or attributes of a messaging transport system. Others are used to represent creation of message content or change the information content of a message. Patterns are Also Used to Discuss Complex Mechanisms To Direct Messages. Soa Messaging Patterns Can Be Divided Into The Following Categories:

· Message Type Patterns. Describe Different Varieties of Messages That Can Be Used in SOA.

· Message Channel Patterns. Describe The Fundamental Attributes of a Messaging Transport System.

Routing Patterns. Describe Mechanisms to Direct Messages Between Service Provider and service consumer patterns. Describe the Behavior of Messaging System Clients.

• Contract Patterns. Illustrate The Behavioral Specification To Maintain A Smooth Communication Between Service Provider and consumer.

.

· Transformation Patterns. Change The Information Content of a Message With Enterprise Level Message.

The Patterns Are Shown in Figure 2.

Figure 2. Messaging Patterns Catalog Withnin SOA Context

Message Type Patterns

The message itself is simply some sort of data structure-such as a string, a byte array, a record, or an object. It can be interpreted simply as data, as the description of a command to be invoked on the receiver, or as the description of an event that occurred in the sender. Sender can send a Command Message, specifying a function or method on the receiver that the sender wishes to invoke. It can send a Document Message, enabling the sender to transmit one of its data structures To The Receiver. or it can send an event message, notifying the receiver of a change in the sender.

The Following Message Type Patterns CAN Commonly Be Used in SOA.

Command Message

PROBLEM:

How to invoke a procedure in anonyr application?

Solution: Use a command message to reliably invoke a procedure in another application as shown in Figure 3.

Figure 3. Command Message

Interactions:

A command message controls another application, or a series of other applications, by sending a specially formatted message to that system. A command message includes intelligent instructions to perform a specific action, either through headers and attributes, or as part of the message payload. The recipient performs the appropriate action when the message is received. Command messages are closely related to the Command pattern [9] .A command message is simply a regular message that happens to contain a command. A Simple Object Access Protocol (SOAP) request is A commman.

COMMAND Messages Are Usually Sent ON A Point-To-Point Channel So That Each Command Will Only Be Consumed and Invoked ONCE.

Document Message

PROBLEM:

How can you transfer Data Between Services?

Solutions:

Use a document message to reliably Transfer a Data Structure BetWeen Applications. See Figure 4.

Figure 4. Document Message

Interactions:

A document message is just a single unit of information, a single object or data structure that may decompose into smaller units The important part of a document message is its content;.. The document This content is retrieved by un-marshalling / or de- SERIALIZING DATA.

........................ ..

A Document Message CAN Be Any Kind of Message In The Messaging System. A Simple Object Access Protocol (SOAP) Reply Message Is A Document Message.

Event Message

PROBLEM:

Several applications would like to use event notification to coordinate their actions, and would like to use messaging to communicate those events How can messaging be used to transmit events from one service to another Solutions.?:

Use An Event Message for Reliable, Asynchronous Event Notification Between Applications. See Figure 5.

Figure 5. Event Message

Interactions:

An event message extends the Observer model to a set of distributed applications. Event messages can be sent from one service to another to provide notification of lifecycle events within a service-oriented enterprise, or to announce the status of particular activities. Applications for this pattern Include Enterprise Monitoring and Centralized Logging.

An Important Characteristic of Event Messages Is That They Do Not Require A Reply.

.

"IF a Message Says That The Stock Price For CERTAIN SYMBOL HAS CHENGED, THATAN Event. If The message provides information about the symbol, incruding its new price, That's a document."

Request-Reply Message

PROBLEM:

Messages travel into a message channel in one direction, from the sender to the receiver. This asynchronous transmission makes the delivery more reliable and decouples the sender from the receiver. The problem is that communication between components often needs to be two-way. When one Component Notifies Another of a Change, IT May Want To Receive An Acknowledge.

How Can Messaging Be Two-Way?

Solutions:

Send a Pair of Request-Reply Messages, Each On Its Own Channel. See Figure 6.

Figure 6. Request Reply Message

Interactions:

Request-Reply Has Two Participants: · Requester (Service Consuer). Sends a Request Message and Waits for a reply message.

· Replier (Service Provider). Receives The Request Message and Responds with a reply message.

The request channel can be a point-to-point channel or a publish-subscribe channel. The difference is whether the request should be broadcast to all interested parties or should only be processed by a single consumer. The reply channel, on the other hand , is Almost Always Point-To-Point, Because IT Usually Makes No Sense To Broadcast Replies.

The Request Is Like a Method Call. As Such, The Reply IS One of Three Possibilities:

Void

· Result Value

· EXCEPTION

. ...........................

Messaging Channel Patterns

Channels, also known as queues, are logical pathways to transport messages. A channel behaves like a collection or array of messages, but one that is magically shared across multiple computers and can be used concurrently by multiple applications.

A Service Provider is a program..

Point-to-Point Channel

PROBLEM:

The sender dispatches a message to a messaging system, which is responsible for relaying the message to a particular recipient. The messaging system might proactively deliver the message (by contacting the recipient directly), or hold the message until the recipient connects to retrieve it. How can you ensure That Exactly One Consumer Will Receive The Message?

Solution:

Send The Message ON A Point-To-Point Channel, Which Ensures That Only One Receiver Will Receive A Particular Message. See Figure 7.

Figure 7. Point-to-Point Channel

Interactions:

A point-to-point channel ensures that only one consumer consumes any given message. If the channel has multiple receivers, only one of them can successfully consume a particular message. If multiple receivers try to consume a single message, the channel ensures that only one of them succeeds, so the receivers do not have to coordinate with each other. The channel can still have multiple consumers to consume multiple messages concurrently, but only a single receiver consumes any one message.

Publish-Subscribe Channel

PROBLEM:

The Service Provider Broadcasts An Event Once, To All INTERESTED CONSUMERS.

Solution:

Send The Event ON A Publish-Subscribe Channel, Which Delivers a Copy of a Particular Event to Each Receiver. See Figure 8.

Figure 8. Publish-Subscribe Channel

Interactions:

A publish-subscribe channel that is developed based on Observer pattern [9], and describes a single input channel that splits into multiple output channels-one for each subscriber. After publishing an event into the publish-subscribe channel, the same message is delivered to each of the output channels. each output channel is configured on one-to-one topology to allow only one consumer to consume a message. The event is considered consumed only when all of the consumers have been notified.A publish-subscribe channel can Be a Useful for Systems Management, Error Debugging and Different Level of Testing.

DataType Channel

PROBLEM:

The receiver must know what type of messages it is receiving, or it will not know how to process them. For example, a sender might send different objects such as purchase orders, price quotes, and queries, but a receiver will probably take different Steps to process Each of these, SO it has to know which is which.

Solution:

Use a Separate DataType Channel for Each Data Type, SO That All Data On A Particular Channel IS of The Same Type. See Figure 9.

Figure 9. Datatype Channel

Interactions:

In any messaging system there are several separate datatype channels for each type of data. All of the messages on a given channel will contain the same type of data. Based on data type, the service provider sends the data to the channel and the consumer receives Data from the appropriate DataType Channel.

Dead Letter Channel

PROBLEM:

There Are A Number of Reasons for Message Delivery To Fail. Issues Might Be Message Channel Configuration Problem, A Problem with Consumers, or Message Expiration.

Solution:

When there is any Delivery Issue with the message, it can be moving to a different messaging channel Called a dead letter channel. See Figure 10.figure 10. Dead Letter Channel

Interactions:

A dead letter channel is a separate channel dedicated for bad messages or invalid messages. From this channel messages can be rerouted to the mainstream channel or even in separate channel for special processing of the message.

Guaranteed Delivery

PROBLEM:

One of the main advantages of asynchronous messaging over RPC is that the participants do not need to be online at the same time. While the network is unavailable, the messaging system has to use a store and forward mechanism to ensure message durability. By default , the messages are stored in memory until they can be successfully forwarded to the next contract point. This mechanism works well when the messaging system is running reliably, but if the messaging system crashes, all of the stored messages are lost. As a preventative measure Applications Use Persistent Media Like Files and Databases To Ensure Recovery from System Crashs.

Solution:

Use a guaranteed Delivery Mechanism to make Messages Persistent. See Figure 11.

Figure 11. Guaranteed Delivery

Interactions:

With guaranteed delivery, the messaging system uses a built-in data store (local storage disk space in a participant computer) to persist messages in each participant computer on which the messaging system is installed. The message is safely stored until it is successfully delivered. IN this Way, It Ensures Guaranteed Delivery.

This guaranteed delivery mechanism increases system reliability, but at the expense of performance as it involves considerable numbers of I / O and consumes a large amount of disk space. Therefore if performance or debugging / testing is the priority try to avoid using guaranteed delivery.Message BUS

PROBLEM:

An enterprise consists of various independent applications communicating with each other in a unified manner.We need an integration / service architecture that enables those applications to coordinate in a loosely coupled fashioned.

Solution:

Structure the Connecting Middleware Between The Applications As a Message Bus That Enables Them To Work Together Using Messaging AS Shown In Figure 12.

Figure 12. Message bus

Interactions:

A Message Bus Is A Combination of A Common Data Model, A Common Command Set, And A Messaging Infrastructure To Allow Different Heterogeneous Systems To Communicate Through A Shared Set of Interface.

A message bus can be considered as a universal connector between the various enterprise systems, and as a universal interface for client applications that wish to communicate with each other. A message bus requires that all of the applications should use the same canonical data model. Applications Adding Messages to the bus may need to depend on Message Routers to route the message..

Message Routing Patterns

Almost all messaging system uses built in router as well as customized routing. Message Routers are very important building blocks for any good integration architecture. As opposed to the different message routing design patterns, this pattern describes a hub-and-spoke architectural style with few Specially Embedded Routing Logic.

In Search of the Right Routeran Important Decision for an Architect Is To Choose The Appropriate Routing Mechanism. Patterns That Will Help You Make The Right Decision Are:

Pipes and filter

Content-based Router

Content Aggregator

Pipes and filter

PROBLEM:

How can you divide a Larger Processing Task INTO A SEQUENCE OF SMALLER, INDEpendent Processing Steps?

Solution:

Use the pipes and filters pattern to Divide a Larger Processing Task Into a Sequence of Smaller, Independent Processing Steps (Filters) That Are Connected By Channels (Pipe). See Figure 13.

Figure 13. Pipes and filter

Interactions:

Each filter exposes a very simple interface: it receives messages on the inbound pipe, processes the message, performs business transformations, and publishes the results to the outbound pipe The pipe connects one filter to the next, sending output messages from one filter to the. next. It's very similar to execution of a method call through passing parameters and getting a return value. It follows 'chain of responsibility' [11] pattern. Because all components use the same external interface they can be composed into different solutions by connecting the ............................

The pipes and filters pattern uses abstract pipes to decouple components from each other. The pipe allows one component to send a message into the pipe so that it can be consumed later by another process that is unknown to the component. One of the potential downsides of pipes and filters architecture is the larger number of required channels that consume memory and CPU cycles. Also, publishing a message to a channel involves a certain amount of overhead because the data has to be translated from the application-internal format into the messaging infrastructure's own format.Using pipes and filters also improves module-wise unit testing ability. It can help to prepare a testing framework. It is more efficient to test and debug each core function in isolation because we can tailor the test mechanism to the specific function.

Content-based Router

PROBLEM:

.

Solution:

Use a content-based router to route Each Message to Correct Consumer Based On Message Content. See Figure 14.

Figure 14. Content-based Router

Interactions:

The content-based router examines the message content and routes the message onto a different channel based on message data content. When implementing a content-based router, special caution should be taken to make easily maintainable routing logic. In more sophisticated integration scenarios, the Content-based Router Can Be Implement As a configurable rules Engine That Computes The Destination Channel Based ON A Set of configurable rules.

Content Aggregator

PROBLEM:

The messaging system exchanges messages between a variety of sources. The messages have similar content but different formats, which can complicate the processing of combined messages. It would be better processing decision if we assigned different components with different responsibilities [11]. For example, IF We want to select All of the Transactions of a Particular Customer from Different Business Zones for a particular quarter. this method is caled evenet linking and recommended:

Use a stateful content Aggregator, To Collect and Store Individual Messages and Combine Those Related Messages to Publish. See Figure 15.

Figure 15. Content Aggregator

Interactions:

A content aggregator is a special filter that receives a stream of messages and correlates related messages. When a complete set of messages has been received, the aggregator collects information from each correlated message and publishes a single, aggregated message to the output channel for further processing .......................

When Designing an AGGREGATOR, We need to specify The Following Items:

Correlation ID. An Identifier That INDICES Messages Internal RelationShip

· End condition. The condition That Determines When to Stop Processing

· Aggregation Algorithm. The Algorithm Used to Combine The Received Messages Into A Single Output Message

Every time the content aggregator receives a new message, it checks whether the message is a part of already existing aggregate or a new aggregate. After adding the message, the content aggregator evaluates the process end condition for the aggregate. If the condition evaluates to true , a new aggregated message is formed from the aggregate and published to the output channel. If the process end condition evaluates to false, no message is published and the content aggregator continues processing.Service Consumer Patterns

.................... ..

Transactional Client

PROBLEM:

Transactions are important part of any messaging system and are sufficient for any participant to send or receive a single message. However, a few specific scenarios might need a broader transactional approach, which in turn may need special transactional coordination. These cases include (but are NOT LIMITED TO:

· Send-receive message pairs. Receive One message and send another.

................ ..

· Message / database coordination. Send or receive a message combined with database update. For example, when an application receives and processes a message for ordering a product, the application will also need to update the product inventory database.

Scenarios like these require a different specification of transactional boundaries with much more complexities involving more than just a single message and may involve other transactional stores besides the messaging system.

How Can You Solve this Kind of Transactional Problems?

Solution: Use a Transactional Client-make The Client's Session With The Messaging System Transactional and Ensure That The Client Can Specify Complex Transaction Boundaries. See Figure 16.

Figure 16. Transactional Client Sequern Diagram

Interactions:

Both participants can be transactional. From a sender's point of view, the message is not considered added to the channel until the sender commits the transaction. On the other hand message is not removed from the channel until the receiver commits the transaction.

. With a transactional receiver, messages can be received without actual removal of the message from the channel The advantage of this approach is that if the application crashed at this point, the message would still be on the queue after message recovery has been performed; the ....................

Polling Consumer

PROBLEM:

In any messaging system, the consumer needs an indication that application is ready so that it can consume the message. The best approach for the consumer is to repeatedly check the channel for message availability. If any message is available, the consumer consumes it. This CHECKING IS A Continuous Process Known as polling.

Solution:

The Application Should Use A Polling Consumer, One That Explicitly Makes a Call When It Wants To Receive A Message. See Figure 17.

Figure 17. Polling consumer

Interactions:

A polling consumer is a message receiver. A polling consumer restricts the number of concurrent messages to be consumed by limiting the number of polling threads. In this way, it prevents the application from being blocked by having to process too many requests, and keeps any Extra Messages Queued Up Until The Receiver CAN Process The.Event-Driven Consumer

PROBLEM:

.......................

Solution:

Instead of making the consumer poll for the message, a better idea might be to use event driven message notifications to indicate message availability. See Figure 18 and Figure 19. The application should use an event-driven consumer. Event-driven consumers automatically consume messages as They become available.

Figure 18. Event-Driven Consumer

Figure 19. Event-Driven Consumer SEQUENCE DIAGRAM

Interactions:

An event-driven consumer is invoked by the messaging system at the time of message arrival on the consumer's channel. The consumer uses application-specific callback mechanism to pass the message to the application.

Durable Subscriber

PROBLEM:

In some cases you might require guaranteed message delivery where a message consumer is not connected to publish-subscribe channel or has crashed before receiving a message. In this case the messaging system needs to ensure guaranteed message delivery when the consumer reconnects to the system.

Solution:

Use a dURABLE SUBSCRIBER. See Figure 20 and 21.

Figure 20. Durable Subscriber

Figure 21. Durable Subscriber Sequence Diagram

Interactions:

A durable subscription saves messages for an off-line subscriber and ensures message delivery when the subscriber reconnects. Thus it prevents published messages from getting lost and ensures guaranteed delivery. A durable subscription has no effect on the normal behavior of the online / active subscription mechanism .Idempotent receiver

PROBLEM:

For certain scenarios, instead of using Durable Subscription mechanism, some reliable messaging implementations can produce duplicate messages to ensure guaranteed, at-least once Delivery. In these cases, message delivery can generally only be guaranteed by resending the message until an acknowledgment is returned from .

WE NED TO ENSURE That The Messaging System Is Able To Safely Handle Any Messages That Are Received Multiple Times.

Solution:

Design a receiver to be an ideMpotent Receiver. See Figure 22.

Figure 22. Duplicate Message Problem

Interactions:

The term idempotent is originated from mathematics to describe the ability of a function that produces the same result if it is applied to itself, ie f (x) = f (f (x)). In messaging Environment this concept ensures safely resent of same Message Irrespective of Receipt of Same Message Multiple Times.

In order to detect and eliminate duplicate messages based on the message identifier, the message consumer has to maintain a buffer of already received message identifiers. One of the key design issues is to decide message persisting timeout. In the simplest case, the service provider sends one message at a time, awaiting the receiver's acknowledgment after every message. In this scenario, the consumer efficiently uses the message identifier to check that the identifiers are identical. In practice, this style of communication is very inefficient, especially when significant throughput is required . in these situations, the sender might want to send a whole set of messages in a batch mode without awaiting acknowledgment for individual one. This will necessitate keeping a longer history of identifiers for already received messages, and the size of the message subscriber's buffer will Grow Significantly Depending on The Number of Message The Sender CAN Send WITHOUT An Acknowledgment.an Alte rnative approach to achieving idempotency is to define the semantics of a message such that resending the message does not impact the system. For example, rather than defining a message as variable equation like 'Add 0.3% commission to the Employee code A1000 having a base salary of $ 10000 ', we could change the message to' Set the commission amount $ 300.00 to the Employee code A1000 having a base salary of $ 10000 '. Both messages achieve the same result-even if the current commission is $ 300. The second message is idempotent because Receiving It Twice Will Not Have Any Effect. So WHENEVER POSSIBLE, TRY TO Send Constants As Message and Avoid Variables in Messages. In this way we can effectly Achieve Ideemncy.

Service FactoryPROBLEM:

When designing service consumer for multiple styles of communication, it might seem necessary to define the service for each style, and this concept can be linked to the Factory Design Pattern [9]. In SOA it's a challenge to invoke the right services based on the STYLE OF Communication.

Solution:

Design a Service Factory That Connects The Messages on The Channel To The Service 23.

Figure 23. Service Factory

Interactions:

A service factory may return a simple method call or even a complex remote process invocation. The service factory invokes the service just like any other method invocation and optionally can create a customized reply message.

Message facade pattern

PROBLEM:

Depending On Business Requirements, You Might NEED TO ENCAPSULATE Business Logic Flow and Complexity BEHIND A Standard Facade.

Solution:

A Message Facade can be used asynchronously and maintained independently. It acts as an interceptor between service consumer and service provider. See Figure 24.

Figure 24. Message Facade

Interactions:

The client creates a command message and sends it to the message facade through messaging channel. The facade receives the message (using a polling consumer or an event-driven consumer) and uses the information it contains to access business tier code to fulfill a use case .

Conclusion

So far we have understood how messaging patterns exist at different levels of abstraction in SOA. In this paper, which is the first of a two-part series on messaging patterns in Service-Oriented Architecture, Message Type patterns were used to describe different varieties of messages in SOA, Message Channel patterns explained messaging transport systems, Routing patterns explained mechanisms to route messages between the Service Provider and Service Consumer, and finally Service Consumer patterns illustrated the behavior of messaging system clients. in the next issue of JOURNAL, the final part of this paper will cover Contract patterns that illustrate the behavioral specifications required to maintain smooth communications between Service Provider and Service Consumer and Message Construction patterns that describe creation of message content that travels across the messaging system.Copyright Declaration

G Hohpe & B Woolf, Enterprise Integration Patterns, (adapted material from pages 59-83), (c) 2004 Pearson Education, Inc. Reproduced by permission of Pearson Education, Inc. Publishing as Pearson Addison Wesley. All rights reserved.

转载请注明原文地址:https://www.9cbs.com/read-121334.html

New Post(0)