Shortcut to seniority
Home
Go to main page
Section level: Junior
A journey into the programming realm
Section level: Intermediate
The point of no return
Section level: Senior
Leaping into the unknown
                    Go to main page
A journey into the programming realm
The point of no return
Leaping into the unknown
Integration patterns refer to patterns that are commonly used when dealing with communication between the elements of a system.
A message channel is used for inter-process communication. One application writes messages to the channel and one or multiple receives read that message. Message queues are an example of a message channel.
                                            A message translator transforms from one message format to another. If one application sends data in XML format and another one accepts Json, one of the parties or a mediator will transform the data from XML to Json.
                                            This type of channel broadcasts an event or notification to all subscribed receivers.
The clients are registering for a specific message and the server sends the notification when that action occurs. For the server, it is a fire and forget type of event.
                                            This implies the following:
The server does not keep track of the events that were sent after they were sent.the clients who register to a specific event will not receive the notifications that occurred before they connected.
Every class should have a single responsibility, and that responsibility should be entirely encapsulated by the class.