[BUG] Unable to cast application property attribute from ServiceBusReceivedMessage #26065
Closed
3 tasks done
Labels
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
needs-team-attention
Workflow: This issue needs attention from Azure service team or SDK team
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Service Bus
Milestone
Describe the bug
Dotnet application includes a DateTimeOffset object within the application properties of a service bus message. Then this service bus message is sent to an event bus.
Java application receives the service bus message but it is unable to properly cast DateTimeOffset object sent within application properties. The object in question is instead retrieved as a org.apache.qpid.proton.codec.DecoderImpl$UnknownDescribedType object.
Exception or Stack Trace
No exceptions are thrown
To Reproduce
Steps to reproduce the behavior:
Code Snippet
Screenshot from Java debugger which shows the object type of time attribute:
Expected behavior
I expected to receive time attribute with a proper class type (e.g. long/int representation of DateTimeOffset object)
Screenshots
Screenshots shown above
Setup (please complete the following information):
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: