use of org.apache.activemq.command.MessagePull in project activemq-artemis by apache.
the class MessagePullTest method populateObject.
@Override
protected void populateObject(Object object) throws Exception {
super.populateObject(object);
MessagePull info = (MessagePull) object;
info.setConsumerId(createConsumerId("ConsumerId:1"));
info.setDestination(createActiveMQDestination("Destination:2"));
info.setTimeout(1);
info.setCorrelationId("CorrelationId:3");
info.setMessageId(createMessageId("MessageId:4"));
}
use of org.apache.activemq.command.MessagePull in project activemq-artemis by apache.
the class MessagePullTest method populateObject.
@Override
protected void populateObject(Object object) throws Exception {
super.populateObject(object);
MessagePull info = (MessagePull) object;
info.setConsumerId(createConsumerId("ConsumerId:1"));
info.setDestination(createActiveMQDestination("Destination:2"));
info.setTimeout(1);
info.setCorrelationId("CorrelationId:3");
info.setMessageId(createMessageId("MessageId:4"));
}
Aggregations