-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Description
Is there an existing issue for this?
- I have searched the existing issues
Description
Please, look at the code sample at https://abp.io/docs/latest/framework/infrastructure/background-jobs#rabbitmq-background-job
It is a code sample added to document the functionality of ApplicationName, added in this PR
First, I think it has a mistake:
context.Services.GetApplicationName()!.EndsWith('.') should be context.Services.GetApplicationName()!.EnsureEndsWith('.'), otherwise we end up with queue name prefix FalseAbpBackgroudJobs instead of MyCoolApplication.AbpBackgroundJobs.
Second, it uses PreConfigure step, but PreConfigure actions are executed when someone calls IServiceCollection.ExecutePreConfiguredActions, which is not the case, so this configuration step is not executed.
Reproduction Steps
No response
Expected behavior
No response
Actual behavior
No response
Regression?
No response
Known Workarounds
No response
Version
9.3.5
User Interface
Common (Default)
Database Provider
EF Core (Default)
Tiered or separate authentication server
None (Default)
Operation System
Windows (Default)
Other information
No response