package org.springblade.risk.alarm;

import com.ldt.consts.QueueConst;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

/**
 * @author: lianghanqiang
 * @description:
 * @since: 10/28/21 -- 9:47 AM
 */
@Component
public class RiskAlarmer {

	@RabbitListener(queues = {QueueConst.ipAlarm})
	public void ipAlertHandle(String data){
		System.out.println(data);
	}
}
