if (resource.indexOf('/') == 0)
resource = resource.substring(1);
NullActor stream = new NullActor(address, broker);
connection = new SimpleActorSender(stream, broker, address, resource);
env.addCleanup(new BamConnectionResource(connection));
env.setSpecialValue("_quercus_bam_connection", connection);
}
return connection;