Open
Description
Query/Question
- I am using Spring Message @ServiceBusListener to receive the Azure Service Bus Queue message.
- I refer to this official page
https://learn.microsoft.com/en-us/azure/developer/java/spring-framework/using-service-bus-in-spring-applications - I know the difference between
PEEK_LOCK
andRECEIVE_AND_DELETE
of the ServiceBusReceiveMode, but- I did not find any attribute of @ServiceBusListener to configure the above receive mode?
- Meanwhile, even I have tried to configure
spring.cloud.azure.servicebus.consumer.receive-mode=RECEIVE_AND_DELETE
orspring.cloud.azure.servicebus.processor.receive-mode=RECEIVE_AND_DELETE
at the application.properties file, the result seems stillPEEK_LOCK
, that means the message does not be deleted upon receiving
my question is how to configure the ServiceBusReceiveMode for the Java springboot if you use the annotation, eg: @ServiceBusListener
Setup (please complete the following information if applicable):
- Java Spring Boot
<dependency>
<groupId>com.azure.spring</groupId>
<artifactId>spring-messaging-azure-servicebus</artifactId>
<version>5.9.1</version>
</dependency>
### Tasks
Metadata
Metadata
Assignees
Labels
This issue points to a problem in the data-plane of the library.All azure-spring related issuesSpring service bus related issues.Issues that are reported by GitHub users external to the Azure organization.Workflow: This issue needs attention from Azure service team or SDK teamThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Type
Projects
Status
Todo