package jnpf.qualifications.consummer;

import org.springframework.cloud.stream.annotation.Input;
import org.springframework.cloud.stream.annotation.Output;
import org.springframework.messaging.MessageChannel;
import org.springframework.messaging.SubscribableChannel;

public interface PositionGradeConsumerSource {
    String OUTPUT = "permission-output";  //生产通道
    String INPUT = "permission-input";  //消费通道

    @Output(OUTPUT)
    MessageChannel output();

    @Input(INPUT)
    SubscribableChannel input();
}
