Adapted code to the fact that SingleQueueMessage doesn't extend QueueMessage anymore (see irestful/SingleQueueMessages@b8debe93ccd56f558f4313c0e8a1dd4c277cb3d1)
The repository now return -HashMapQueueMessage objects and uses their adapters