All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ddphin.rabbitmq.demo.handler.RabbitmqTestDelayQueueReceiverHandlerString Maven / Gradle / Ivy

package com.ddphin.rabbitmq.demo.handler;

import com.ddphin.rabbitmq.receiver.RabbitmqCommonQueueReceiverHandler;
import com.ddphin.rabbitmq.receiver.impl.RabbitmqCommonDelayQueueReceiver;
import com.ddphin.rabbitmq.receiver.impl.RabbitmqCommonQueueReceiverHandlerRegister;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * RabbitmqTestDelayQueueReceiverHandlerString
 *
 * @Date 2019/7/25 下午3:23
 * @Author ddphin
 */
@Slf4j
@Service
public class RabbitmqTestDelayQueueReceiverHandlerString
        extends RabbitmqCommonQueueReceiverHandlerRegister
        implements RabbitmqCommonQueueReceiverHandler {

    @Override
    public Boolean process(String data) {
        log.info("RabbitmqTestDelayQueueReceiverHandlerString:\n" +
                "    String: {}", data);
        return null;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy