concept NMS api in category activemq

appears as: NMS API, The NMS API
ActiveMQ in Action

This is an excerpt from Manning's book ActiveMQ in Action.

We’ll dig into the NMS API by writing a stock portfolio consumer in C# and showing how you can run it on the Mono platform. For the CMS API, we’ll explain the process of writing message consumers in C++ using one of the examples that come with the ActiveMQ-CPP library, a default implementation of the CMS API. Now let’s start with the NMS API.

9.3.1. Writing a C# consumer (using the NMS API)

Scripting languages covered in previous sections are mostly used for creating server-side software and internet applications on Unix-like systems. Developers who target the Windows platform, on the other hand, usually choose the .NET Framework as their development environment. The ability to use a JMS-like API (and ActiveMQ in particular) to asynchronously send and receive messages can bring a big advantage for .NET developers. The NMS API (.Net Message Service API), an ActiveMQ subproject (http://mng.bz/gVn3), provides a standard C# interface to messaging systems. The idea behind NMS is to create a unified messaging API for C#, similar to what JMS API represents to the Java world. Currently, it only supports ActiveMQ and the OpenWire protocol, but providers for other messaging brokers could be easily implemented.