public static Bootstrap startupEmbeddedJBoss() {
try {
long start = System.currentTimeMillis();
Bootstrap bootstrap = new Bootstrap();
bootstrap.bootstrap();
bootstrap.deployResource( "jars/jms-master.jar" );
System.out.println("JBoss Embedded boot time: " + (System.currentTimeMillis() - start) + " ms");
return bootstrap;
}
catch (DeploymentException e) {