use of org.apache.activemq.command.ConsumerControl in project activemq-artemis by apache.
the class ConsumerControlTest method createObject.
@Override
public Object createObject() throws Exception {
ConsumerControl info = new ConsumerControl();
populateObject(info);
return info;
}
use of org.apache.activemq.command.ConsumerControl in project activemq-artemis by apache.
the class ConsumerControlTest method populateObject.
@Override
protected void populateObject(Object object) throws Exception {
super.populateObject(object);
ConsumerControl info = (ConsumerControl) object;
info.setDestination(createActiveMQDestination("Destination:1"));
info.setClose(true);
info.setConsumerId(createConsumerId("ConsumerId:2"));
info.setPrefetch(1);
info.setFlush(false);
info.setStart(true);
info.setStop(false);
}
use of org.apache.activemq.command.ConsumerControl in project activemq-artemis by apache.
the class ConsumerControlTest method createObject.
@Override
public Object createObject() throws Exception {
ConsumerControl info = new ConsumerControl();
populateObject(info);
return info;
}
use of org.apache.activemq.command.ConsumerControl in project activemq-artemis by apache.
the class ConsumerControlTest method populateObject.
@Override
protected void populateObject(Object object) throws Exception {
super.populateObject(object);
ConsumerControl info = (ConsumerControl) object;
info.setClose(true);
info.setConsumerId(createConsumerId("ConsumerId:1"));
info.setPrefetch(1);
info.setFlush(false);
info.setStart(true);
info.setStop(false);
}
use of org.apache.activemq.command.ConsumerControl in project activemq-artemis by apache.
the class ConsumerControlTest method populateObject.
@Override
protected void populateObject(Object object) throws Exception {
super.populateObject(object);
ConsumerControl info = (ConsumerControl) object;
info.setClose(true);
info.setConsumerId(createConsumerId("ConsumerId:1"));
info.setPrefetch(1);
info.setFlush(false);
info.setStart(true);
info.setStop(false);
}
Aggregations