Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

How to add metadata to Message when using an output binding? #124

Open
moagardell opened this issue Mar 19, 2020 — with docs.microsoft.com · 0 comments
Open

How to add metadata to Message when using an output binding? #124

moagardell opened this issue Mar 19, 2020 — with docs.microsoft.com · 0 comments

Comments

Copy link

I am using a Azure Function with an output bidning as is described in section: "Using ICollector with Service Bus queue bindings"
I need to add specifik metadata to the message that are added to the queue, but it seeams like thats not supported?
I want to filter the messages in the topic with Message.CorrelationId or Message.Label,
I tried to use ICollector<Message> but it throws exception "Error getting value from 'ExpiresAtUtc' on 'Microsoft.Azure.ServiceBus.Message'".
How can I add metadata to the message using output bindings?


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant