In the previous chapters, we learned how to integrate with the Virtual File System (VFS) that allows us to access FTP, read and write messages from/to the filesystem, monitor a folder, and much more, which is quite a common task on a daily basis. In this chapter, we shall learn how to integrate with a Message Broker, which is a must in scenarios such as the following:
- High-performance integrations
- Integrations with reliable messaging and guaranteed delivery
- Asynchronous integrations
- Message throttling
You can find out more about this pattern and many others at: http://www.enterpriseintegrationpatterns.com.
In the Message Broker, what we will use is WSO2 Message Broker, which is integrated in WSO2 EI and supports Java Message Service (JMS) 2.0. The JMS API is a standard API to create, send, receive, and read messages that can be...