use of org.apache.activemq.command.BrokerInfo in project activemq-artemis by apache.
the class BrokerInfoTest method populateObject.
@Override
protected void populateObject(Object object) throws Exception {
super.populateObject(object);
BrokerInfo info = (BrokerInfo) object;
info.setBrokerId(createBrokerId("BrokerId:1"));
info.setBrokerURL("BrokerURL:2");
{
BrokerInfo[] value = new BrokerInfo[0];
for (int i = 0; i < 0; i++) {
value[i] = createBrokerInfo("PeerBrokerInfos:3");
}
info.setPeerBrokerInfos(value);
}
info.setBrokerName("BrokerName:4");
info.setSlaveBroker(true);
info.setMasterBroker(false);
info.setFaultTolerantConfiguration(true);
info.setDuplexConnection(false);
info.setNetworkConnection(true);
info.setConnectionId(1);
info.setBrokerUploadUrl("BrokerUploadUrl:5");
info.setNetworkProperties("NetworkProperties:6");
}
use of org.apache.activemq.command.BrokerInfo in project activemq-artemis by apache.
the class BrokerInfoData method createObject.
@Override
protected Object createObject() {
BrokerInfo rc = new BrokerInfo();
rc.setResponseRequired(false);
rc.setBrokerName("localhost");
rc.setBrokerURL("tcp://localhost:61616");
rc.setBrokerId(new BrokerId("ID:1289012830123"));
rc.setCommandId((short) 12);
rc.setResponseRequired(false);
return rc;
}
use of org.apache.activemq.command.BrokerInfo in project activemq-artemis by apache.
the class BrokerInfoTest method createObject.
@Override
public Object createObject() throws Exception {
BrokerInfo info = new BrokerInfo();
populateObject(info);
return info;
}
use of org.apache.activemq.command.BrokerInfo in project activemq-artemis by apache.
the class BrokerInfoTest method populateObject.
@Override
protected void populateObject(Object object) throws Exception {
super.populateObject(object);
BrokerInfo info = (BrokerInfo) object;
info.setBrokerId(createBrokerId("BrokerId:1"));
info.setBrokerURL("BrokerURL:2");
{
BrokerInfo[] value = new BrokerInfo[0];
for (int i = 0; i < 0; i++) {
value[i] = createBrokerInfo("PeerBrokerInfos:3");
}
info.setPeerBrokerInfos(value);
}
info.setBrokerName("BrokerName:4");
info.setSlaveBroker(true);
info.setMasterBroker(false);
info.setFaultTolerantConfiguration(true);
}
use of org.apache.activemq.command.BrokerInfo in project activemq-artemis by apache.
the class BrokerInfoTest method populateObject.
@Override
protected void populateObject(Object object) throws Exception {
super.populateObject(object);
BrokerInfo info = (BrokerInfo) object;
info.setBrokerId(createBrokerId("BrokerId:1"));
info.setBrokerURL("BrokerURL:2");
{
BrokerInfo[] value = new BrokerInfo[0];
for (int i = 0; i < 0; i++) {
value[i] = createBrokerInfo("PeerBrokerInfos:3");
}
info.setPeerBrokerInfos(value);
}
info.setBrokerName("BrokerName:4");
info.setSlaveBroker(true);
info.setMasterBroker(false);
info.setFaultTolerantConfiguration(true);
info.setDuplexConnection(false);
info.setNetworkConnection(true);
info.setConnectionId(1);
info.setBrokerUploadUrl("BrokerUploadUrl:5");
info.setNetworkProperties("NetworkProperties:6");
}
Aggregations