Signed-off-by: Pierre Fersing <pierre.fersing@bleemeo.com>
Split message queue in two queues: in-flight and queued to avoid the need to iterate over all messages. Signed-off-by: Pierre Fersing <pierre.fersing@bleemeo.com>