Is there an existing issue for this?
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
Is there an existing issue for this?
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 PRFirst, I think it has a mistake:
context.Services.GetApplicationName()!.EndsWith('.')should becontext.Services.GetApplicationName()!.EnsureEndsWith('.'), otherwise we end up with queue name prefixFalseAbpBackgroudJobsinstead ofMyCoolApplication.AbpBackgroundJobs.Second, it uses
PreConfigurestep, but PreConfigure actions are executed when someone callsIServiceCollection.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