Skip navigation.
Downloads | Product Documentation | Support

Administration Console Online Help

# Configure connection factories

Connection factories are objects that enable JMS clients to create JMS connections. A connection factory supports concurrent use, enabling multiple threads to access the object simultaneously.

Note: WebLogic Server provides preconfigured "default" connection factories that can be enabled or disabled on a per-server basis. For more information, see Connection Factory Resources.

To configure a connection factory in a JMS system module:

1. If necessary, configure a JMS system module for the connection factory. See Configure JMS system modules.
2. Create connection factories in a system module

   After creating a basic connection factory, you can define a number of optional properties:

   1. Configure connection factory default delivery parameters

      Define various default message delivery parameters. For example, if a client does not specify certain delivery parameters then the value of those parameters can be controlled with the default delivery parameters. Also, if you are using the Unit-of-Order feature, associate a unit-of-order with all sessions created from a factory configured with unit-of-order enabled, and, optionally, a name provided. As a result, all sessions created from the connection factory will have unit-of-order enabled.

   2. Configure connection factory client parameters

      Define various client parameters concerning how a JMS server should behave with regard to its clients. For example, you can specify the Client ID a durable subscriber should have when using a connection factory.

   3. Configure connection factory transaction parameters

      Define a transaction time-out value, and also indicate whether an XA queue or XA topic connection factory is returned, which create sessions that are JTA user-transaction aware.

   4. Configure connection factory flow control

      Define flow control parameters, which allow you to tell a JMS server or destination to slow down message producers when it determines that it is becoming overloaded.

   5. Configure connection factory load balancing parameters

      Define load balancing parameters so that when multiple clients use this connection factory, they can choose how to distribute their work to targeted server instances.

   6. Configure connection factory security parameters

      Customize the security information associated with messages sent through this factory.

3. If you skipped the targeting step when you created a connection factory, or want to change the connection factory's selected subdeployment, you can do so at anytime. See Specify subdeployments for connection factories.

Related Tasks

- Delete connection factories

Related Topics

- Understanding JMS Resource Configuration
- Configuring JMS System Resources