-
Notifications
You must be signed in to change notification settings - Fork 11
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
CorrelationId and other properties are not available via the AzureServiceBusMessageContext #421
Comments
I believe that the message's correlation ID will correspond with the operation ID that is available in the For the other properties, you can use the system properties within the message context to get the available ones: https://github.com/arcus-azure/arcus.messaging/blob/main/src/Arcus.Messaging.Abstractions.ServiceBus/AzureServiceBusSystemProperties.cs |
Note that the Arcus ServiceBusMessage builders are not used. The I understand that we should not break abstraction, but on the other hand, the class is called |
The correlation information in a W3C context is not generated, but retrieved from the current activity and (I thought) the correlation ID of the message? |
I'm just thinking that the |
Is your feature request related to a problem? Please describe.
We have a system that posts messages to Azure ServiceBus, and that system uses the
CorrelationId
property of theServiceBusMessage
to add a correlation-id to the message.We have another process that consumes ServiceBus via Arcus.Messaging, but there seems to be no way to retrieve the
CorrelationId
property from the message.I believe this property should be available through the
AzureServiceBusMessageContext
class ?Note that there also other properties available on
ServiceBusMessage
that might be of interest:The text was updated successfully, but these errors were encountered: