operation.get(OP_ADDR).add("connection-factory", "RemoteConnectionFactory");
operation.get(OP).set(READ_RESOURCE_OPERATION);
operation.get(INCLUDE_RUNTIME).set(true);
ModelNode result = execute(client, operation);
// initial-message-packet-size is a runtime attribute. if the server is passive, it returns undefined
assertEquals(result.toJSONString(true), active, result.get(RESULT, "initial-message-packet-size").isDefined());
// runtime operation
operation.get(OP).set("add-jndi");
operation.get("jndi-binding").set("java:jboss/exported/jms/" + randomUUID().toString());
if (active) {