Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[QUERY] Spring - How to set the receive mode to "RECEIVEANDDELETE" in spring cloud stream service bus binder #17421

Closed
saragluna opened this issue Nov 10, 2020 · 2 comments
Assignees
Labels
azure-spring All azure-spring related issues azure-spring-servicebus Spring service bus related issues. Client This issue points to a problem in the data-plane of the library. feature-request This issue requires a new behavior in the product in order be resolved.

Comments

@saragluna
Copy link
Member

Query/Question
microsoft/spring-cloud-azure#511

I see from the log that the default value of the receiver is PeekLock.
c.m.azure.servicebus.MessageReceiver : Creating MessageReceiver to entity 'xxx-topic/subscriptions/xxx-subscription', ReceiveMode 'PEEKLOCK'
how to set the receiver to "ReceiveMode.RECEIVEANDDELETE" ?

@saragluna
Copy link
Member Author

@pablosguajardo I'm going to answer your question here. We don't support to configure the receive mode right now, since the factory hard code the receive mode. But may I ask in which case you will use the RECEIVEANDDELETE receive mode?

@yiliuTo yiliuTo added this to the Backlog milestone Mar 19, 2021
@saragluna saragluna added Client This issue points to a problem in the data-plane of the library. feature-request This issue requires a new behavior in the product in order be resolved. labels Mar 31, 2021
@saragluna saragluna assigned yiliuTo and unassigned chenrujun and saragluna May 24, 2021
@chenrujun chenrujun assigned jialigit and unassigned yiliuTo Nov 8, 2021
@chenrujun chenrujun assigned saragluna and unassigned jialigit Nov 17, 2021
@saragluna
Copy link
Member Author

saragluna commented Nov 18, 2021

It's implemented in the 4.0 branch now, please check #24260 for update.

@github-actions github-actions bot locked and limited conversation to collaborators Apr 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
azure-spring All azure-spring related issues azure-spring-servicebus Spring service bus related issues. Client This issue points to a problem in the data-plane of the library. feature-request This issue requires a new behavior in the product in order be resolved.
Projects
Archived in project
Development

No branches or pull requests

4 participants