java - What does vm prefix mean in the address line? -
i'm going through apache activemq example , faced vm prefix follows:
activemqconnectionfactory connectionfactory = new activemqconnectionfactory("vm://localhost"); what mean? way, when connect mesasge broker use address tcp://localhost:61616.
although rahul correct, think makes sense add context answer.
so, vm stands virtual machine, central concept in java. java programs execute in virtual machine.
more information particular activemq case, explaining difference between vm:// , tcp://, can read here:
in same jvm clients can use vm:// transport connect embedded broker - whilst external clients can use tcp:// protocol
Comments
Post a Comment