package cn.com.poc.message.service;

import cn.com.poc.message.entity.AirportTaskCreateMessage;
import cn.com.poc.message.entity.AirportPDFPaperMessage;
import cn.com.yict.framemax.core.service.BaseService;

/**
 * @author alex.yao
 * @date 2025/10/30
 */
public interface AirportConsumerService extends BaseService {

    /**
     * 推送PDF解析消息任务
     *
     * @param message
     * @return
     */
    void pdfPaper(AirportPDFPaperMessage message) throws Exception;

    /**
     * 创建任务
     *
     * @param message
     * @throws Exception
     */
    void createTask(AirportTaskCreateMessage message) throws Exception;
}
