Azure / Azure/azure-functions-java-library

ServiceBusTopicOutput - how to set sessionId to a message

Open
#197 0 comments 1 reaction 0 assignees View on GitHub
area:java-functions
Dominant language
Java
Stars
45
Forks
49
PR merge metrics
No merged PRs in 30d

Description

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 ?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by examining the ServiceBusTopicOutput annotation and the Azure Functions Java output-binding configuration it represents. Check whether the binding exposes a sessionId setting for messages sent to a session-enabled Service Bus entity; done means identifying and documenting a supported configuration or confirming that the capability is missing.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, java
Domain
cloud
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.