Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use static MessageConfiguration tied to ServiceCollection #156

Merged
merged 2 commits into from
Aug 15, 2024

Conversation

brendonparker
Copy link
Contributor

This is a way to support multiple invocations of AddAWSMessageBus against same ServiceCollection with the least amount of changes.

Submitting for feedback. Possible you may want to take a different approach.

Issue #152

Description of changes:
Change MessageConfiguration to a static, so it can be shared across implementations.
Add unit test for scenario and fix unit test scaffold to support setting up new MessageConfiguration contexts for each test.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@brendonparker brendonparker changed the title Use static MessageBusBuilder tied to ServiceCollection Use static MessageConfiguration tied to ServiceCollection Aug 6, 2024
@bhoradc
Copy link

bhoradc commented Aug 9, 2024

@brendonparker - Thanks for your contribution! The team will review your PR as soon as possible.

@philasmar
Copy link
Contributor

Could you please use https://github.com/awslabs/aws-dotnet-messaging/blob/main/CONTRIBUTING.md to add a change file to your PR so that we can merge and release it?

@brendonparker
Copy link
Contributor Author

Done

@philasmar
Copy link
Contributor

@brendonparker Thanks for adding the change file. I have ran the integration tests internally and they pass. I will merge and release this PR.

@philasmar philasmar changed the base branch from main to dev August 15, 2024 14:54
@philasmar philasmar merged commit 3919df2 into awslabs:dev Aug 15, 2024
5 of 6 checks passed
@philasmar
Copy link
Contributor

This PR was released as part of AWS.Messaging (0.9.2).

Thank you @brendonparker for your contribution!

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.

4 participants