class JmsTransportUtils {

	public static int getMessageType(URI uri) {
		String deliveryMode = getStringParameter(MESSAGE_TYPE_PATTERN, uri);
		if ("TEXT_MESSAGE".equals(deliveryMode)) {
			return JmsTransportConstants.TEXT_MESSAGE_TYPE;
		} else {
			return JmsTransportConstants.BYTES_MESSAGE_TYPE;
		}
	}

	private  JmsTransportUtils();

}