session.close();
}
public void testSendMessageToDeadLetterAddress() throws Exception
{
SimpleString address = RandomUtil.randomSimpleString();
SimpleString queue = RandomUtil.randomSimpleString();
SimpleString deadLetterAddress = RandomUtil.randomSimpleString();
SimpleString deadLetterQueue = RandomUtil.randomSimpleString();
session.createQueue(address, queue, null, false);
session.createQueue(deadLetterAddress, deadLetterQueue, null, false);
ClientProducer producer = session.createProducer(address);