@Test
public void getPriority() throws Exception {

	URI uri = new URI("jms:RequestQueue?priority=5");
	int priority = JmsTransportUtils.getPriority(uri);
	assertEquals("Invalid priority", 5, priority);
	uri = new URI("jms:RequestQueue?replyToName=RESP_QUEUE");
	priority = JmsTransportUtils.getPriority(uri);
	assertEquals("Invalid priority", Message.DEFAULT_PRIORITY, priority);
}