Skip to content

Sample on how to connect to ServiceBus using the Java (Spring-Boot) SDK#52

Merged
paolosalvatori merged 2 commits into
mainfrom
servicebus-java-sample
Mar 4, 2026
Merged

Sample on how to connect to ServiceBus using the Java (Spring-Boot) SDK#52
paolosalvatori merged 2 commits into
mainfrom
servicebus-java-sample

Conversation

@bblommers
Copy link
Copy Markdown
Contributor

@bblommers bblommers commented Feb 26, 2026

Motivation

A small Spring Boot app that shows how to configure an app to talk to the Localstack Emulator.

The only purpose of this sample is really to show the configuration - that's why the functionality is more limited than other samples (no WebApps, only a single service).

@bblommers bblommers force-pushed the servicebus-java-sample branch from 3e59f30 to c13cd7e Compare February 27, 2026 14:02
@bblommers bblommers force-pushed the servicebus-java-sample branch from c13cd7e to a6b7612 Compare March 2, 2026 09:32
@bblommers bblommers force-pushed the servicebus-java-sample branch from f0dc35c to b3c1f84 Compare March 2, 2026 09:51
@bblommers bblommers marked this pull request as ready for review March 2, 2026 10:00
@bblommers bblommers requested a review from DrisDary March 4, 2026 12:25
Copy link
Copy Markdown
Contributor

@paolosalvatori paolosalvatori left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @bblommers I'll add:

  • Terraform deployment + README
  • Bicep deployment + README
  • Diagram
    Can you please update the README.md in the root folder with a link to this sample?

@bblommers
Copy link
Copy Markdown
Contributor Author

Thanks @paolosalvatori - I've updated the Readme.

It makes sense to have a sample that showcases how to create ServiceBus resources using Terraform and Bicep - but do you want to include that in this sample, or in a separate sample? In it's current form, this main purpose of this sample is just to showcase the SpringBoot configuration, and adding more infrastructure code might distract from that.

@paolosalvatori
Copy link
Copy Markdown
Contributor

By definition, we need to provide deployment options for each sample. I don't see how this can be distracting. If customers only want to see the Java code, they will ignore the rest. But if they want to deploy and run the sample, we need to provide IaC for completeness. All the Azure samples provide both code and IaC. Some official Microsoft sample fully automate the deployment of both via azd CLI. No worries, I'll check the sample and extend it. @bblommers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants