use of org.apache.activemq.command.MessageDispatch in project activemq-artemis by apache.
the class MessageDispatchTest method createObject.
@Override
public Object createObject() throws Exception {
MessageDispatch info = new MessageDispatch();
populateObject(info);
return info;
}
use of org.apache.activemq.command.MessageDispatch in project activemq-artemis by apache.
the class MessageDispatchTest method createObject.
@Override
public Object createObject() throws Exception {
MessageDispatch info = new MessageDispatch();
populateObject(info);
return info;
}
use of org.apache.activemq.command.MessageDispatch in project activemq-artemis by apache.
the class MessageDispatchTest method populateObject.
@Override
protected void populateObject(Object object) throws Exception {
super.populateObject(object);
MessageDispatch info = (MessageDispatch) object;
info.setConsumerId(createConsumerId("ConsumerId:1"));
info.setDestination(createActiveMQDestination("Destination:2"));
info.setMessage(createMessage("Message:3"));
info.setRedeliveryCounter(1);
}
use of org.apache.activemq.command.MessageDispatch in project activemq-artemis by apache.
the class MessageDispatchTest method createObject.
@Override
public Object createObject() throws Exception {
MessageDispatch info = new MessageDispatch();
populateObject(info);
return info;
}
use of org.apache.activemq.command.MessageDispatch in project activemq-artemis by apache.
the class MessageDispatchTest method populateObject.
@Override
protected void populateObject(Object object) throws Exception {
super.populateObject(object);
MessageDispatch info = (MessageDispatch) object;
info.setConsumerId(createConsumerId("ConsumerId:1"));
info.setDestination(createActiveMQDestination("Destination:2"));
info.setMessage(createMessage("Message:3"));
info.setRedeliveryCounter(1);
}
Aggregations