Azure / go-amqp

AMQP 1.0 client library for Go.
https://github.com/Azure/go-amqp
MIT License
106 stars 58 forks source link

Expose the link properties received when the link is attached #220

Closed richardpark-msft closed 3 weeks ago

richardpark-msft commented 1 year ago

When a link is attached the service will reply with an Attach frame, with Properties. In Azure Service Bus, when creating links on a session-enabled entity, we get back a property value that tells us how long it's locked until.

This doesn't appear to be exposed in the current interface. I'd imagine it'd be similar to what we've already done for LinkSourceFilterValue, except we'd return the entire Properties map.

(this is the wireshark trace showing the returned attach frame) wireshark - Service Bus service reply with locked-until-utc property

jhendrixMSFT commented 3 weeks ago

Fixed in upcoming version v1.2.0.