Skip to content

[BUG] Addition of the application properties in spring boot is not reflecting any changes #45259

Open
@Sowmya192319

Description

@Sowmya192319

Describe the bug
We added the following properties in application properties of the spring boot to increase the delay between the message retries. But it's reflecting the delays between retries.

spring.cloud.azure.servicebus.consumer.retry.fixed.delay=60000
spring.cloud.azure.servicebus.consumer.retry.mode=FIXED
spring.cloud.azure.servicebus.processor.max-auto-lock-renew-duration=120000

Exception or Stack Trace
No exceptions

To Reproduce
Add the above properties in application properties, send some error message, which leads to retry code.

Code Snippet
#Service Bus connection
spring.cloud.azure.servicebus.client.transport-type=AMQP_WEB_SOCKETS
spring.cloud.azure.servicebus.consumer.client.transport-type=AMQP_WEB_SOCKETS
spring.cloud.azure.servicebus.processor.client.transport-type=AMQP_WEB_SOCKETS
spring.cloud.azure.servicebus.producer.client.transport-type=AMQP_WEB_SOCKETS
spring.cloud.azure.servicebus.consumer.retry.fixed.delay=60000
spring.cloud.azure.servicebus.consumer.retry.mode=FIXED
spring.cloud.azure.servicebus.processor.max-auto-lock-renew-duration=120000

Expected behavior
To see the delays between the retries when reading the message from azure service bus queue

Screenshots
If applicable, add screenshots to help explain your problem.

Setup (please complete the following information):

  • OS: Linux and Mac IOS
  • IDE: IntelliJ
  • Library/Libraries: spring-cloud-azure-starter-servicebus ( 5.19.0_
  • Java version: 21
  • App Server/Environment: Embedded tomcat server
  • Frameworks: Spring Boot

If you suspect a dependency version mismatch (e.g. you see NoClassDefFoundError, NoSuchMethodError or similar), please check out Troubleshoot dependency version conflict article first. If it doesn't provide solution for the problem, please provide:

  • verbose dependency tree (mvn dependency:tree -Dverbose)
  • exception message, full stack trace, and any available logs

Additional context
Add any other context about the problem here.

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

  • Bug Description Added
  • Repro Steps Added
  • Setup information Added

Metadata

Metadata

Assignees

Labels

azure-springAll azure-spring related issuesazure-spring-servicebusSpring service bus related issues.customer-reportedIssues that are reported by GitHub users external to the Azure organization.issue-addressedWorkflow: The Azure SDK team believes it to be addressed and ready to close.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions