github Azure/azure-sdk-for-java azure-core-amqp_2.0.0

3 years ago

2.0.0 (2020-11-30)

New Features

  • Added 'AmqpAddress' as a type to support 'AmqpMessageProperties#replyTo' and 'AmqpMessageProperties#to' properties.
  • Added 'AmqpMessageId' as a type to support 'AmqpMessageProperties#correlationId' and 'AmqpMessageProperties#messageId'
    properties.
  • Added static methods to instantiate 'AmqpMessageBody' for example 'AmqpMessageBody#fromData(byte[])'.

Breaking Changes

  • Changed 'AmqpMessageBody' from interface to a class. User can use 'getBodyType()' to know what is the 'AmqpBodyType'
    of the message.
  • Changed type of 'AmqpMessageProperties#correlationId' and 'AmqpMessageProperties#messageId' from 'String'
    to 'AmqpMessageId'.
  • Changed type of 'AmqpMessageProperties#replyTo' and 'AmqpMessageProperties#to' from 'String' to 'AmqpAddress'.
  • Removed copy constructor for 'AmqpAnnotatedMessage'.
  • Renamed 'AmqpBodyType' to 'AmqpMessageBodyType'.

Dependency Updates

  • Upgraded azure-core dependency to 1.11.0.

Don't miss a new azure-sdk-for-java release

NewReleases is sending notifications on new releases.