azure-spring-boot-samples/azure-servicebus-spring-boot-sample/src/main/java/sample/servicebus/ServiceBusSampleApplication.java
private void sendQueueMessage() throws ServiceBusException, InterruptedException {
        final String messageBody = "queue message";
        System.out.println("Sending message: " + messageBody);
        final Message message = new Message(messageBody.getBytes(StandardCharsets.UTF_8));
        queueClient.send(message);
    }
private void sendQueueMessage() throws ServiceBusException, InterruptedException {
        final String messageBody = "queue message";
        System.out.println("Sending message: " + messageBody);
        final Message message = new Message(messageBody.getBytes(StandardCharsets.UTF_8));
        queueClient.send(message);
    }
For complete documentation of Service Bus, reference https://azure.microsoft.com/en-us/services/service-bus/