package cn.com.poc.message.service.impl;

import cn.com.poc.message.entity.AirportTaskCreateMessage;
import cn.com.poc.message.entity.AirportPDFPaperMessage;
import cn.com.poc.message.service.AirportProducerService;
import cn.com.poc.message.topic.AirportTopic;
import cn.com.yict.framemax.tumbleweed.client.annotation.Producer;
import org.springframework.stereotype.Service;

/**
 * @author alex.yao
 * @date 2025/10/30
 */
@Service
public class AirportProducerServiceImpl implements AirportProducerService {

    @Override
    @Producer(topic = AirportTopic.AIRPORT_PDF_PAPER_TOPIC)
    public AirportPDFPaperMessage pdfPaper(AirportPDFPaperMessage message) {
        return message;
    }

    @Override
    @Producer(topic = AirportTopic.AIRPORT_CREATE_TOPIC)
    public AirportTaskCreateMessage createTask(AirportTaskCreateMessage message) {
        return message;
    }
}
