use of org.apache.activemq.artemis.core.server.ServerConsumer in project activemq-artemis by apache.
the class AMQPSessionCallback method startSender.
public void startSender(Object brokerConsumer) throws Exception {
ServerConsumer serverConsumer = (ServerConsumer) brokerConsumer;
// flow control is done at proton
serverConsumer.receiveCredits(-1);
}
Aggregations