use of org.apache.activemq.command.ConsumerId 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());
}
}
use of org.apache.activemq.command.ConsumerId in project activemq-artemis by apache.
the class ConsumerIdTest method createObject.
@Override
public Object createObject() throws Exception {
ConsumerId info = new ConsumerId();
populateObject(info);
return info;
}
use of org.apache.activemq.command.ConsumerId in project activemq-artemis by apache.
the class ConsumerIdTest method createObject.
@Override
public Object createObject() throws Exception {
ConsumerId info = new ConsumerId();
populateObject(info);
return info;
}
use of org.apache.activemq.command.ConsumerId in project activemq-artemis by apache.
the class ConsumerIdTest method populateObject.
@Override
protected void populateObject(Object object) throws Exception {
super.populateObject(object);
ConsumerId info = (ConsumerId) object;
info.setConnectionId("ConnectionId:1");
info.setSessionId(1);
info.setValue(2);
}
use of org.apache.activemq.command.ConsumerId in project activemq-artemis by apache.
the class ConsumerIdTest method createObject.
@Override
public Object createObject() throws Exception {
ConsumerId info = new ConsumerId();
populateObject(info);
return info;
}
Aggregations