@Test
public void getTimeToLive() throws Exception {

	URI uri = new URI("jms:RequestQueue?timeToLive=100");
	long timeToLive = JmsTransportUtils.getTimeToLive(uri);
	assertEquals("Invalid timeToLive", 100, timeToLive);
	uri = new URI("jms:RequestQueue?replyToName=RESP_QUEUE");
	timeToLive = JmsTransportUtils.getTimeToLive(uri);
	assertEquals("Invalid timeToLive", Message.DEFAULT_TIME_TO_LIVE, timeToLive);
}