Nokia interview question

How implement a queue in JMS?