Publish-subscribe pattern – initiating the business process through an event
Business events comprise of message data published as the result of an occurrence in a business environment. Other services/processes can subscribe to these events. Business events are raised when a situation of interest occurs. For example, a customer visits a lender's/bank's website and browses for a couple of bank products such as home loans, mortgages, education loans, savings, wealth management, and so on. During browsing, customers are asked to fill in their details.
Bank sales representatives contact the customer for a follow-up and to check the customer's interest in one/more of the products from the portfolio of products. Once the sales representative gauges a specific product interest of the customer, then they raise a specific product event through an application. For our example, we will assume that a Loan Origination event is raised by the sales representative.
The distinction...