Publish-Subscribe interfaces, or simply pub-sub as it is more commonly known, is a messaging pattern whereby senders of messages (called publishers) send messages to receivers (called subscribers). Senders do not program the messages to be sent directly to specific receivers but rather characterize published messages into classes.