Skip to content

ServiceBusTopicOutput - how to set sessionId to a message #197

@prmenon-aa

Description

@prmenon-aa

We have been using ServiceBusTopicOutput annotation to get our Azure Function to send messages to a Service Bus queue. This has been working fine. But now a different use case, our output queue needs to be "session enabled".

With the same code as earlier, we are getting this error

The SessionId was not set on a message, and it cannot be sent to the entity.
Entities that have session support enabled can only receive messages that have the SessionId set to a valid value.

What additional config do we need for ServiceBusTopicOutput in order to send messages with a sessionId ?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions