Azure / azure-sdk-for-java

This repository is for active development of the Azure SDK for Java. For consumers of the SDK we recommend visiting our public developer docs at https://docs.microsoft.com/java/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-java.
MIT License
2.35k stars 1.99k forks source link

Do Azure SDK for Java support ReceiveAndDelete mode in the Azure client builder for Receiver Client to receive messages from Sessions based Queues/Topics. #41881

Closed snarlagi-tibco closed 1 month ago

snarlagi-tibco commented 1 month ago

Query/Question Do Azure SDK for Java support ReceiveAndDelete mode in the Azure client builder for Receiver Client to receive messages from Sessions based Queues/Topics.

Why is this not a Bug or a feature Request? A clear explanation of why is this not a bug or a feature request? **We are not sure if it is a bug . But from the microsoft documentation we are not clear if ReceiveAndDelete mode applicable for Azure Client Receiver in Java to receive messages from Sessions based Queues/Topics. From the ticket https://github.com/Azure/azure-sdk-for-js/issues/1019 , ReceiveAndDelete mode with Sessions Queues/Topics is supported in azure-sdk-for-js (JavaScript SDK) .

I need clarity if azure-sdk-for-java SDK as well supports ReceiveAndDelete mode with both Sessions Queues/Topics and not Non-Sessions Queues/Topics **

Setup (please complete the following information if applicable):

github-actions[bot] commented 1 month ago

@anuchandy @conniey @lmolkova

github-actions[bot] commented 1 month ago

Thank you for your feedback. Tagging and routing to the team member best able to assist.

anuchandy commented 1 month ago

Yes, RECEIVE_AND_DELETE mode is supported for both session and non-session entities. The mode can be set using ServiceBusClientBuilder::receiveMode(ServiceBusReceiveMode mode) with value of mode parameter as ServiceBusReceiveMode.RECEIVE_AND_DELETE.

anuchandy commented 1 month ago

Closing given the question is answered.