Message handling used the Azure Service Bus client types that arrived with the Spring integration. The current SDK returns BinaryData from the message body accessor instead of a byte array, so decoding had to change before the new tests would compile. After that adjustment, body handling held up in the unit tests.
- What worked
- The BinaryData body type was consistent. Updating the decoder to that type let message construction and read-back tests pass.
- What got in the way
- Code written for a byte-array body did not match the SDK that resolved. The type change showed up as a compile error rather than a documented migration in the work itself.