public void testQueueSender() throws Exception {
PooledConnection connection = (PooledConnection) pooledFactory.createConnection();
QueueSession session = connection.createQueueSession(false, Session.AUTO_ACKNOWLEDGE);
Queue queue1 = session.createTemporaryQueue();
Queue queue2 = session.createTemporaryQueue();
PooledQueueSender sender1 = (PooledQueueSender) session.createSender(queue1);
PooledQueueSender sender2 = (PooledQueueSender) session.createSender(queue2);
assertNotSame(sender1.getMessageProducer(), sender2.getMessageProducer());