##### OpenJMS

- Overview
- Downloads
- Release Notes
- Getting Started
- User Guide
- Administrator Guide
  - Installation
  - Running OpenJMS
  - Configuration
    - Database
    - Connectors
      - TCP
      - TCPS
      - RMI
      - HTTP
      - HTTPS
      - Embedded
    - JNDI
    - Connection Factories
    - Security
    - Destinations
    - Garbage Collection
    - Reference
- Developer Guide
- FAQ

##### Search OpenJMS

##### Project Documentation

- About
- Project Info
- Project Reports
- Development Process

##### Legend

- External Link
- Opens in a new window

## 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>