Skip to content

[BUG]spring.cloud.azure.servicebus.processor.session-idle-timeout=PT10S is not reflecting in application #45460

@Sowmya192319

Description

@Sowmya192319

We have the spring application which consumes the message from the session enabled queue.
we are trying to minimize the idle time between the session. though we are setting the property using the spring described one like spring.cloud.azure.servicebus.processor.session-idle-timeout=PT10S, changes are not reflecting. Still it is waiting for one minute to form the new connection

Exception or Stack Trace
No exception... No chnages are reflecting after adding the property

To Reproduce
Steps to reproduce the behavior:

Create the app service with 3 instances and send the message to the session enabled queue with different session ID.
Code Snippet
Add the code snippet that causes the issue.

Expected behavior
Idle time should be to the value what we pass in the property of spring.cloud.azure.servicebus.processor.session-idle-timeout=PT10S

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

Setup (please complete the following information):

  • OS: MAC or Linux or Windows
  • IDE: IntelliJ
  • Library/Libraries: azure starter service bus 5.22.0
  • Java version: 21
  • App Server/Environment: 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 issuesbugThis issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK team

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions