String containerDomain = label + "." + hostAndPort;
ServiceContainer container = new ServiceContainer(containerDomain);
Address targetAddress = new Address("queue", containerDomain);
container.bindName(targetAddress, new Sub(targetAddress, Address
.parse(sourceStr)));
HttpServer httpd = new ReverseHttpServer(label, serverUrl,
container);
httpd.serve();
} catch (Exception e) {
e.printStackTrace();
}
}