Azure / Azure/azure-sdk-for-java

[FEATURE REQ] Expose session state operations on ServiceBusReceivedMessageContext

Open
#49,207 1 comment 0 reactions 1 assignee Claimed by @EldertGrootenboer View on GitHub
Client customer-reported feature-request needs-team-attention Service Attention Service Bus
Dominant language
Java
Stars
2.6k
Forks
2.2k
Avg merge
2d 8h
Merged PRs (30d)
178

Description

**Is your feature request related to a problem? Please describe.**
We are not able to use ServiceBusSessionProcessorClient to be able to perform operations on session state (getSessionState()/ setSessionState()) something the .Net SDK already provides.

**Describe the solution you'd like**
Provide a solution to expose session state operations on ServiceBusReceivedMessageContext on Java SDK as .Net Sdk already provides this capability.

**Describe alternatives you've considered**
We had to use manual Session pump with ServiceBusReceiverClient that could introduce blocking calls and resource utilization leak.
Moving to ServiceBusReceiverAsyncClient but still of code to maintain and handle the session messages and we wish the SDK provides these capabilities as it is already supported in .Net SDK.

**Information Checklist**
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report
- [x] Description Added
- [x] Expected solution specified

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.