use of org.apache.activemq.artemis.core.protocol.openwire.amq.AMQConsumerBrokerExchange in project activemq-artemis by apache.
the class OpenWireConnection method updateConsumer.
public void updateConsumer(ConsumerControl consumerControl) {
ConsumerId consumerId = consumerControl.getConsumerId();
AMQConsumerBrokerExchange exchange = this.consumerExchanges.get(consumerId);
if (exchange != null) {
exchange.updateConsumerPrefetchSize(consumerControl.getPrefetch());
}
}
Aggregations