[BUG] Adding Service Bus library changes default Spring Boot behavior #30244
Labels
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
Client
This issue points to a problem in the data-plane of the library.
Service Bus
Describe the bug
Original: Azure/azure-service-bus-java#416
Versions
OS platform and version: Mac OSX 10.15.7
Maven package version or commit ID: implementation group: 'com.azure', name: 'azure-messaging-servicebus', version: '7.1.0'
Exception or Stack Trace
To Reproduce
Code Snippet
Expected behavior
Hitting a GET endpoint with no Accept type specified defaults to application/json being returned
Creating a new RestTemplate() defaults the Accept types in the template to [application/json, application/*+json]
Actual Behavior
Hitting a GET endpoint with no Accept type specified defaults to application/xml being returned
Creating a new RestTemplate() defaults the Accept types in the template to [application/xml, text/xml, application/json, application/+xml, application/+json]
Screenshots
If applicable, add screenshots to help explain your problem.
Setup (please complete the following information):
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:mvn dependency:tree -Dverbose
)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
The text was updated successfully, but these errors were encountered: