blob: c0e33020c292b8ccf6e982da0c45685b7d8ff396 [file] [log] [blame]
== Spring Boot Example with Azure Service Bus JMS
=== Introduction
This example shows how to work with a simple Apache Camel application using Spring Boot with Spring JMS and Azure Service Bus Queue.
NOTE: Running this sample will be charged by Azure. You can check the usage and bill at this https://azure.microsoft.com/get-started/azure-portal/[link].
=== Create Service Bus on Azure
Create an Azure Service Bus namespace and queue by following this https://learn.microsoft.com/azure/service-bus-messaging/service-bus-quickstart-portal[link].
=== Configuration
You need to configure the details in the file:
`src/main/resources/application.yml`
=== How to run
Run this example using:
[source,console]
----
mvn spring-boot:run
----
You should see the following output in the console.
[source,console]
----
Received: Service Bus JMS Test
Connection ID: ... connected to server: ...
...
Received: Service Bus JMS Test
Connection ID: ... connected to server: ...
...
----
=== Help and contributions
If you hit any problem using Camel or have some feedback, then please
https://camel.apache.org/community/support/[let us know].
We also love contributors, so
https://camel.apache.org/community/contributing/[get involved] :-)
The Camel riders!