/*
 * Copyright (c) 2023 codvision.com All Rights Reserved.
 */

package com.codvision.mqcore.annotation;

import java.lang.annotation.*;

/**
 * 消息队列消费者监听
 *
 * @author lingee
 * @date 2023/8/22
 */
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface MQListener {

    /**
     * 队列名称
     *
     * @return
     */
    String[] queues() default {};
}
