Hi, On 13/11/13 11:37, fercascue wrote: > I want the client keeps running and waiting for incoming messages even when > the queue is empy. Treating an empty queue as if it contained messages will not achieve that effect. Consider consuming messages asynchronously or polling with a pause when the queue is empty. -Emile