In the code below I simply want to send a message to an message queue. and output the number of messages in the queue. But the output is 0.....

could any one provide a solution to this so that...