A Message Broker is a pattern which is designed for purpose of consuming messages from applications and performing actions like transformation , providing a point-to-point and publish-subscribe pattern of message routing mechanism. It mediates communication among applications, minimizing the mutual awareness that applications should have of each other in order to be able to exchange messages, effectively implementing decoupling.
Message broker is an intermediary program module which translates a message from the formal messaging protocol of the sender to the formal messaging protocol of the receiver. Message brokers are elements in telecommunication networks where programs (software applications) communicate by exchanging formally-defined messages. Message brokers are a building block of Message oriented middleware.