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

[Bug] Azure Service Bus - RequestType #3070

Closed
ransht opened this issue Apr 30, 2024 · 4 comments
Closed

[Bug] Azure Service Bus - RequestType #3070

ransht opened this issue Apr 30, 2024 · 4 comments

Comments

@ransht
Copy link

ransht commented Apr 30, 2024

Describe the bug

When attempting to use the RequestType property in the AzureServiceBusPublication class as shown in the sample code(ASBTaskQueue.GreetingsSender), it appears that the RequestType is missing from the AzureServiceBusPublication class, which inherits from Publication.

                    new AzureServiceBusPublication
                    {
                        Topic = new RoutingKey("greeting.event"),
                        RequestType = typeof(GreetingEvent)
                    },

Further technical details

  • Brighter version - tried 9.7.8 and event 10.0.0-preview.3
  • Include the output of dotnet --info
-  dotnet --info
.NET SDK:
 Version:           8.0.100
 Commit:            57efcf1350
 Workload version:  8.0.100-manifests.6c33ef20

Runtime Environment:
 OS Name:     Mac OS X
 OS Version:  14.4
 OS Platform: Darwin
 RID:         osx-arm64
 Base Path:   /usr/local/share/dotnet/sdk/8.0.100/

.NET workloads installed:
 Workload version: 8.0.100-manifests.6c33ef20
There are no installed workloads to display.

Host:
  Version:      8.0.0
  Architecture: arm64
  Commit:       5535e31a71

.NET SDKs installed:
  6.0.417 [/usr/local/share/dotnet/sdk]
  8.0.100 [/usr/local/share/dotnet/sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 6.0.25 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 8.0.0 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 6.0.25 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 8.0.0 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]

Other architectures found:
  x64   [/usr/local/share/dotnet/x64]

Environment variables:
  Not set

global.json file:
  Not found

Learn more:
  https://aka.ms/dotnet/info

Download .NET:
  https://aka.ms/dotnet/download

  • The OS -MacOs
  • Code Editor: Jetbrains Rider

Additional Context

I attempted to utilize the RequestType property in the AzureServiceBusPublication class, but it appears to be absent from the class definition, causing issues with my implementation.

Also another question, Azure Service Bus support queues and topics.
How can I use this and differentiate between them?

@preardon
Copy link
Member

@ransht AzureServiceBusPublication inherits directly from Publication which has it there' what issues are you experiencing

@iancooper iancooper changed the title Azure Service Bus - RequestType [Bug] Azure Service Bus - RequestType May 6, 2024
@iancooper
Copy link
Member

@ransht I think that this is a V9 vs V10 issue. If you want to look at the V9 samples use the release/9X branch

@iancooper
Copy link
Member

@ransht Did you check on V9 vs V10 here?

@ransht
Copy link
Author

ransht commented May 22, 2024

Yes, It appears to be an example of V10 and I Probably worked on the code of V9 (or non updated code V10)

@ransht ransht closed this as completed May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants