Apache ActiveMQ ™ -- How do I turn off creating an embedded ActiveMQ broker when using the VM transport
FAQ > Using Apache ActiveMQ > How do I turn off creating an embedded ActiveMQ broker when using the VM transport
You can turn off auto creation by setting the create property on the VM Transport to false:
ActiveMQConnectionFactory cf = new ActiveMQConnectionFactory("vm://localhost?create=false");