
				if (data.status == 200) {
					toastr.success("操作成功, 系统将自动刷新");
					reload(3000);
				} else {
					toastr.error("操作失败！" + data.message);
					enable("brokerDeleteBtn");
				}
			}, 'json');
}

function producerConnection(addr) {
	clientConnection(addr, "producer");
}

function consumerConnection(addr) {
	clientConnection(addr, "consumer");
}

function clientConnection(addr, type) {
	$.get('${request.contextPath}/admin/broker/' + type + '/connection', {
				cid: ${respo