use of org.apache.activemq.command.ProducerInfo in project activemq-artemis by apache.
the class ProducerInfoTest method createObject.
@Override
public Object createObject() throws Exception {
ProducerInfo info = new ProducerInfo();
populateObject(info);
return info;
}
use of org.apache.activemq.command.ProducerInfo in project activemq-artemis by apache.
the class ProducerInfoTest method createObject.
@Override
public Object createObject() throws Exception {
ProducerInfo info = new ProducerInfo();
populateObject(info);
return info;
}
use of org.apache.activemq.command.ProducerInfo in project activemq-artemis by apache.
the class ProducerInfoTest method createObject.
@Override
public Object createObject() throws Exception {
ProducerInfo info = new ProducerInfo();
populateObject(info);
return info;
}
use of org.apache.activemq.command.ProducerInfo in project activemq-artemis by apache.
the class ProducerInfoTest method populateObject.
@Override
protected void populateObject(Object object) throws Exception {
super.populateObject(object);
ProducerInfo info = (ProducerInfo) object;
info.setProducerId(createProducerId("ProducerId:1"));
info.setDestination(createActiveMQDestination("Destination:2"));
{
BrokerId[] value = new BrokerId[2];
for (int i = 0; i < 2; i++) {
value[i] = createBrokerId("BrokerPath:3");
}
info.setBrokerPath(value);
}
}
use of org.apache.activemq.command.ProducerInfo in project activemq-artemis by apache.
the class ProducerInfoTest method createObject.
@Override
public Object createObject() throws Exception {
ProducerInfo info = new ProducerInfo();
populateObject(info);
return info;
}
Aggregations