Added Queue for sending messages.

Signed-off-by: thomas <thomas@thomas-Linux>