arcus-azure/arcus.messaging

Introduce an overload for the `ServiceBusMessageBuilder.WithOperationId` to pass-in a property name

stijnmoreels opened this issue · 0 comments

Is your feature request related to a problem? Please describe.
Currently, we only support to add operation ID's on the ServiceBusMessage.CorrelationId property during the message creation via the ServiceBusMessageBuilder.

Describe the solution you'd like
Provide an overload of the WithOperationId that passes in a custom property name. When this way of construction is chosen, the operation ID should be saved as an application property like the other correlation information.

Additional context
Follow-up of #273