This tutorial will teach you how to write MRG Messaging applications in C++, Python, or Java (using the JMS API). To run the programs in this tutorial, you will need to download and install MRG Messaging and be able to start the broker and run a sample application. These steps are described in Chapter 3, Installing MRG Messaging, and described in more depth in the MRG Messaging Installation Guide.
MRG Messaging is an open source, high performance, reliable messaging distribution that implements the Advanced Message Queuing Protocol (AMQP) standard. MRG Messaging is based on Apache Qpid, but includes persistence options, additional components, Linux kernel optimizations, and operating system services not found in the Qpid implementation. We have worked closely with companies that rely heavily on high performance messaging, and created a system to meet their real-world needs.
MRG Messaging is flexible. It easily supports most common messaging paradigms, including store-and-forward, distributed transactions, publish-subscribe, content-based routing, and market data distribution.
MRG Messaging is interoperable. It implements the Advanced Message Queuing Protocol (AMQP), which is a free and open standard for messaging.
MRG Messaging supports clients written in many languages, including Java (JMS), C++, and Python. C# (.Net), Perl, and Ruby clients will be available soon.
MRG Messaging supports many platforms, including Linux, Windows, and Unix.
MRG Messaging is fast. MRG Messaging delivers the highest performance and reliability available.
MRG Messaging is designed for Linux. The C++ broker (which is fully compatible with the Java broker) can integrate directly with the Linux kernel. MRG Messaging is optimized to take full advantage of the Linux kernel, and track Linux kernel developments that might be leveraged for further optimization. And the C++ broker will be directly integrated with the cluster executive as a native cluster service.
MRG Messaging is reliable, providing guaranteed delivery of messages.
MRG Messaging is based on proven technology. AMQP is already being used in production systems, where it is serving very high message volumes; for example, one bank has a worldwide deployment that delivers over 100 million messages per day in a 7 hour trading window.
MRG Messaging supports advanced features including multiple direct-write, persistence options, and integration with operating system clustering facilities.
MRG Messaging is open source. You can see the code, change it, and learn from it.
MRG Messaging will be made available as a standard Linux service. It can be used to support features like virtualization, security, grid computing, and distributed operating system services.