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.
After creating a basic connection factory, you can define a number of optional properties:
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.
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, or you can also define how the JMS client reconnect framework should behave.
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.
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.
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.
Customize the security information associated with messages sent through this factory.