class MqResource implements IMqResource {

	public void heartbeat(HeartbeatRequest request) {
		if (request == null) {
			return;
		}
		String url = MqConstanst.CONSUMERPRE + "/heartbeat";
		try {
			post(request, url, 3, HeartbeatResponse.class, false);
		} catch (Exception e) {
			// TODO: handle exception
		}
	}

	public  MqResource(String url, long connectionTimeOut, long readTimeOut);
	public  MqResource(IHttpClient httpClient, String url);

}