Detected 1 occurrence(s) of ‘/passw[or]*d\.txt’: hRuntime.bootstrap( bp ).newGlassFish( gfp ); CommandRunner commandRunner = glassfish.getService( CommandRunner.class ); commandRunner.run( "create-jms-resource", "--restype", "javax.jms.Queue", "SOME_QUEUE_NAME" ); imqcmd -u admin -passfile ../password.txt update dst -n SOME_QUEUE_NAME -t q -o maxBytesPerMsg=-1 -f create-jms-resource --restype javax.jms.Queue org/example/foo/SomeQueue create-jmsdest --desttype queue --property maxBytesPerMsg=-1:maxTotalMsgBytes=-1 org_example_foo_SomeQueue Source: http://pastebin.com/raw.php?i=fBJpAxuT
↧