package org.springblade.common.constant;

/**
 * @Author: Silent
 * @Description 订单常量
 * @Date: Created in 16:27 2021/11/1
 * @Modified By:
 */
public interface OrderConstant {
	/**
	 * TTL订单队列常量
	 */
	String TTL_ORDER_QUEUE = "order-delay-ttl-queue";

	/**
	 * TTL订单交换机常量
	 */
	String TTL_ORDER_EXCHANGE = "order-delay-ttl-exchange";

	/**
	 * DLX订单队列常量
	 */
	String DLX_ORDER_QUEUE = "order-delay-dlx-queue";

	/**
	 * DLX订单交换机常量
	 */
	String DLX_ORDER_EXCHANGE = "order-delay-dlx-exchange";

	/**
	 * TTL路由key
	 */
	String TTL_ROUTE_KEY = "order.delay.ttl";

	/**
	 * DLX路由key
	 */
	String DLX_ROUTE_KEY = "order.delay.dlx";

	/**
	 * 订单超时时间(毫秒)
	 */
	long ORDER_DELAY_TIME_OUT = 90000L;
}
