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

in.hocg.boot.message.autoconfigure.service.normal.NoneMessageQueueBervice Maven / Gradle / Ivy

The newest version!
package in.hocg.boot.message.autoconfigure.service.normal;

import org.springframework.messaging.Message;

/**
 * Created by hocgin on 2021/4/9
 * email: [email protected]
 *
 * @author hocgin
 */
public class NoneMessageQueueBervice extends AbsMessageQueueBervice {
    @Override
    public boolean asyncSend(String destination, Message message) {
        throw new UnsupportedOperationException();
    }

    @Override
    public boolean asyncSend(String destination, Message message, long timeout) {
        throw new UnsupportedOperationException();
    }

    @Override
    public boolean syncSend(String destination, Message message) {
        throw new UnsupportedOperationException();
    }

    @Override
    public boolean syncSend(String destination, Message message, long timeout) {
        throw new UnsupportedOperationException();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy