Azure / azure-functions-servicebus-extension

Service Bus extension for Azure Functions
MIT License
65 stars 36 forks source link

Convert ExpiresAtUtc to UTC time to mitigate serialization issue #111

Closed amamounelsayed closed 4 years ago

amamounelsayed commented 4 years ago

This issue it related to Java can't parse the date for ExpiresAtUtc. Java issue details https://github.com/Azure/azure-functions-java-worker/issues/403

We believe the issue is coming from this line Message.cs:183 We can see this line does not return time in UTC like line 186.

This is temporary until the Service Bus SDK addresses the missing timezone issue in case DateTime.MaxValue https://github.com/Azure/azure-sdk-for-net/issues/15343

amamounelsayed commented 4 years ago

Tested scenarios, java function has unlimited timetolive for batch and single message. Also 14 days timetolive for batch and single message.

sidkri commented 4 years ago

/azp run

azure-pipelines[bot] commented 4 years ago
Azure Pipelines successfully started running 1 pipeline(s).
amamounelsayed commented 4 years ago

/azp run

azure-pipelines[bot] commented 4 years ago
Azure Pipelines successfully started running 1 pipeline(s).
sidkri commented 4 years ago

/azp run

azure-pipelines[bot] commented 4 years ago
Azure Pipelines successfully started running 1 pipeline(s).