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

Popular posts from this blog

java - BeanIO write annotated class to fixedlength -

Using Java 8 lambdas/transformations to combine and flatten two Maps -

How to connect android app to App engine -