8000 Added minor changes to MassTransitFeature to start using MassTransitOptions as the source for the prefetch count as the new source for this information is in the base MassTransitOptions. Created a new ConfigureTransportBus in both RabbitMQ and Azure Service Bus to support the context in the configuration action. Marked the old ConfigureServiceBus to persuade migration over to the contextual action. Currently, it will run the legacy action first and then the new contextual action second. The Elsa.Server.Web was also updated to use the new ConfigureTransportBus. by CODEdire · Pull Request #1 · CODEdire/elsa-core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Added minor changes to MassTransitFeature to start using MassTransitOptions as the source for the prefetch count as the new source for this information is in the base MassTransitOptions. Created a new ConfigureTransportBus in both RabbitMQ and Azure Service Bus to support the context in the configuration action. Marked the old ConfigureServiceBus to persuade migration over to the contextual action. Currently, it will run the legacy action first and then the new contextual action second. The Elsa.Server.Web was also updated to use the new ConfigureTransportBus. #1

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

Merged
merged 1 commit into from
Feb 15, 2025

Conversation

CODEdire
Copy link
Owner

PR Classification

API change to enhance MassTransit Transport Bus configuration capabilities for components that require an IRegistrationBusContext.

PR Summary

This PR updates MassTransit configuration for Azure Service Bus and RabbitMQ. Previously, the IBusRegistrationContext was not included in the configuration action and prevents configuration of additional MassTransit components that require the context being passed in.

  • Program.cs: Replaces ConfigureServiceBus with ConfigureTransportBus as the old action is now obsolete.
  • AzureServiceBusFeature.cs and RabbitMqServiceBusFeature.cs: Marks ConfigureServiceBus as obsolete, introduces ConfigureTransportBus. Added XML documentation to bring awareness to the alternative action and some clarification that this action runs in addition to Elsa's configuration.
  • MassTransitFeature.cs: Updates ConfigureInMemoryTransport method documentation and updates AddMassTransit method within to include MassTransitOptions configuration for prefetch count.

…ptions as the source for the prefetch count as the new source for this information is in the base MassTransitOptions. Created a new ConfigureTransportBus in both RabbitMQ and Azure Service Bus to support the context in the configuration action. Marked the old ConfigureServiceBus to persuade migration over to the contextual action. Currently, it will run the legacy action first and then the new contextual action second. The Elsa.Server.Web was also updated to use the new ConfigureTransportBus.
@CODEdire CODEdire merged commit 51aa94b into main Feb 15, 2025
@CODEdire CODEdire deleted the masstransit-addcontext branch February 15, 2025 19:29
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.

1 participant
0