Appendix A. Using Rabbit from Java and .NET
Though we chose Python and PHP for their clarity and suitability as teaching languages, we realize there are a lot of .NET and Java programmers out there. Also, most of the AMQP clients for different languages are similar in their interfaces. But the Java and .NET clients diverge significantly enough from the other language clients that they warrant some advice on how to map the examples in RabbitMQ in Action to those languages. With that in mind, we’ll translate a few examples from the book into their .NET and Java equivalents. Specifically, we’ll show you how the Hello World example would look in C#. Also, we’ll reimagine the alerting and RPC examples from chapter 4 in C# and Java, respectively. ...
Get RabbitMQ in Action now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.