use of org.apache.activemq.command.ConnectionControl in project activemq-artemis by apache.
the class ConnectionControlTest method createObject.
@Override
public Object createObject() throws Exception {
ConnectionControl info = new ConnectionControl();
populateObject(info);
return info;
}
use of org.apache.activemq.command.ConnectionControl in project activemq-artemis by apache.
the class ConnectionControlTest method populateObject.
@Override
protected void populateObject(Object object) throws Exception {
super.populateObject(object);
ConnectionControl info = (ConnectionControl) object;
info.setClose(true);
info.setExit(false);
info.setFaultTolerant(true);
info.setResume(false);
info.setSuspend(true);
info.setConnectedBrokers("ConnectedBrokers:1");
info.setReconnectTo("ReconnectTo:2");
info.setRebalanceConnection(false);
info.setToken("Token:3".getBytes());
}
use of org.apache.activemq.command.ConnectionControl in project activemq-artemis by apache.
the class ConnectionControlTest method createObject.
@Override
public Object createObject() throws Exception {
ConnectionControl info = new ConnectionControl();
populateObject(info);
return info;
}
use of org.apache.activemq.command.ConnectionControl in project activemq-artemis by apache.
the class ConnectionControlTest method createObject.
@Override
public Object createObject() throws Exception {
ConnectionControl info = new ConnectionControl();
populateObject(info);
return info;
}
use of org.apache.activemq.command.ConnectionControl in project activemq-artemis by apache.
the class ConnectionControlTest method createObject.
@Override
public Object createObject() throws Exception {
ConnectionControl info = new ConnectionControl();
populateObject(info);
return info;
}
Aggregations