Book Image

Microsoft Azure Development Cookbook Second Edition

Book Image

Microsoft Azure Development Cookbook Second Edition

Overview of this book

Table of Contents (15 chapters)
Microsoft Azure Development Cookbook Second Edition
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Communication between .NET and Java with the Service Bus and AMQP


By default, the Service Bus SDK uses a .NET-friendly protocol to exchange messages, which is primarily supported by the Service Bus service. In the real world, however, enterprise systems are often built in different technologies, and it is not unusual that a receiver system could be developed in a completely different language/platform than the sender system.

This is why the market (and recently the OASIS organization) went to a common definition of a standard for messaging protocol, Advanced Message Queuing Protocol (AMQP). This protocol provides many benefits, from the absence of lock-in to full interoperability between heterogeneous systems.

Azure Service Bus implements the AMQP protocol. From the .NET perspective, using one or another is a configuration detail. It is only necessary to append this parameter to the existing connection string as follows:

TransportType=Amqp

It is irrelevant which protocol is used because the...