Nokia Interview Question

How implement a queue in JMS?