Hello,
Not sure if this is the expected behaviour but ReceiveMessageResponse.messages() is null if no message has been returned but the queue. Otherwise it is a regular instance of a list.
If it expected then it should be documented ReceiveMessageResponse.java, otherwise it should be fixed.
Thank you for your help!
Should definitely return an empty list instead of null
Thanks @vhiairrassary and @ochrons. This should be fixed as part of #519 and #529!
Most helpful comment
529 has been merged. This will be fixed in the next preview release!