Overview

The Embedded connector enables OpenJMS clients to connect to an embedded OpenJMS server, i.e. a server running in the same JVM as the clients.

This avoids the overhead of network serialization.

It is configured by adding a <Connector> element to <Connectors> section of the $OPENJMS_HOME/config/openjms.xml file, with a scheme of type "embedded". E.g:

  <Connectors>
    <Connector scheme="embedded">
      <ConnectionFactories>
        <ConnectionFactory name="VMConnectionFactory"/>
      </ConnectionFactories>
    </Connector>
  </Connectors>