• <1 minute

Azure Service Bus Java Client Generally Available

The Azure Service Bus team is extremely excited to announce general availability of our Java client library version 1.0.0. It allows customers to enjoy a solid Java experience with Azure Service Bus as it comes complete with native functionality.

The Azure Service Bus team is extremely excited to announce general availability of our Java client library version 1.0.0. It allows customers to enjoy a solid Java experience with Azure Service Bus as it comes complete with native functionality.

Want to use the native client to send scheduled messages? No problem. Want to use sessions on Standard and Premium plans to keep your messages in order? Sure thing.

We had a number of organizations and individuals motivating us to get this out the door. Thank you to them for the patience and the push!

Our Java client (Java 8) is also now on par with our .NET Standard client library (.NET Standard 1.3) and if you were to use both you would notice feature parity and full support for interacting with Azure Service Bus.

Service Bus Java Samples

In order to run the samples below, replace the following bracketed values in the [sample].java file.

For queue samples

   private static final String connectionString = "{connection string}";
   private static final String queueName = "{queue name}";

For topic samples

   private static final String connectionString = "{connection string}";
   private static final String topicName = "{topic name}";
   private static final String subscriptionName = "{subscription name}";

Prerequisites

  1. Java 8
  2. An Azure subscription.
  3. A Service Bus namespace
  4. A Service Bus queue
  5. Or A Service Bus topic

All of the Java samples are now available on GitHub. 

Below are some selected samples to get you going with the Azure Service Bus SDK:

And some to get you going with the Apache Qpid JMS AMQP client:

Open Source

This client is open source and if you want to contribute you can! You can submit a code fix for a bug, submit a new feature request and provide other feedback in our GitHub repo.

You can find the Maven package here and documentation here.