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

OpenJMS provides connectivity via TCP, RMI, HTTP and SSL protocol stacks using connectors.

Connectors are configured in the $OPENJMS_HOME/config/openjms.xml configuration file, using the <Connectors> element. E.g:

      <Connectors>
        <Connector scheme="tcp">
          <ConnectionFactories>
            <ConnectionFactory name="ConnectionFactory"/>
          </ConnectionFactories>
        </Connector>
      </Connectors>

The above specifies that the connection factory named "ConnectionFactory" uses the TCP Connector.

## Supported Connectors

The following documents detail the supported connectors, and their configuration requirements:

Connector | Description
--- | ---
TCP | Provides connectivity using TCP/IP sockets.
TCPS | Provides connectivity using secure sockets.
RMI | Provides connectivity using RMI.
HTTP | Provides connectivity using HTTP.
HTTPS | Provides connectivity using HTTP over secure sockets.
Embedded | Provides connectivity within the same JVM.

## Configuring multiple connectors

In order to configure multiple connectors, add a <Connector> entry for each desired connector.
Each connection factory must have a different name.
E.g, to configure tcp and rmi connectors:

    <Connectors>
      <Connector scheme="tcp">
        <ConnectionFactories>
          <ConnectionFactory name="ConnectionFactory" />
        </ConnectionFactories>
      <Connector scheme="rmi">
        <ConnectionFactories>
          <QueueConnectionFactory name="QueueConnectionFactory" />
          <TopicConnectionFactory name="TopicConnectionFactory" />
        </ConnectionFactories>
      </Connector>
      </Connector>
    </Connectors>