assertEquals("", "RAM", prop.getType());
assertEquals("", "4.0", prop.getVersion());
assertEquals("", 44L, prop.getMaxBytes());
AddressBase[] addrArr = prop.getAddresses();
assertEquals("Address array", 1, addrArr.length);
AddressBase addr = addrArr[0];
assertEquals("", "34", addr.getEnv("intKey2", "").getValue());
}
{
CbQueueProperty prop = qos.getSubjectQueueProperty();
assertEquals("", 1009L, prop.getMaxEntries());
assertEquals("", "XY", prop.getType());
assertEquals("", "7.0", prop.getVersion());
assertEquals("", 4009L, prop.getMaxBytes());
assertEquals("", 509L, prop.getMaxEntriesCache());
assertEquals("", 777L, prop.getMaxBytesCache());
/* Currently deactivated in code
assertEquals("", 20009L, prop.getStoreSwapLevel());
assertEquals("", 10000L, prop.getStoreSwapBytes());
assertEquals("", 20000L, prop.getReloadSwapLevel());
assertEquals("", 30000L, prop.getReloadSwapBytes());
*/
assertEquals("", "deadMessage", prop.getOnOverflow());
assertEquals("", true, qos.hasSubjectQueueProperty());
}
{
CbQueueProperty prop = qos.getSessionCbQueueProperty();
assertEquals("", 1600L, prop.getMaxEntries());
AddressBase[] addrArr = prop.getAddresses();
assertEquals("Address array", 1, addrArr.length);
AddressBase addr = addrArr[0];
assertEquals("", 400, addr.getCollectTime());
assertEquals("", 12, addr.getBurstModeMaxEntries());
assertEquals("", 24, addr.getBurstModeMaxBytes());
assertEquals("", "1234", addr.getEnv("intKey1", "").getValue());
System.out.println("GOT: "+addr.getRawAddress());
assertEquals("", "http:/www.mars.universe:8080/RPC2", addr.getRawAddress());
}
assertEquals("Wrong number of clientProperties", 2, qos.getClientProperties().size());
{
String prop = qos.getClientProperty("StringKey", (String)null);