@Test
public void getDestinationName() throws Exception {

	URI uri = new URI("jms:RequestQueue?replyToName=RESP_QUEUE");
	String destinationName = JmsTransportUtils.getDestinationName(uri);
	assertEquals("Invalid destination", "RequestQueue", destinationName);
	uri = new URI("jms:RequestQueue");
	destinationName = JmsTransportUtils.getDestinationName(uri);
	assertEquals("Invalid destination", "RequestQueue", destinationName);
}