Fuse 6 is no longer supported
As of February 2025, Red Hat Fuse 6 is no longer supported. If you are using Fuse 6, please upgrade to Red Hat build of Apache Camel.Ce contenu n'est pas disponible dans la langue sélectionnée.
Chapter 2. Configuring the Connection Factory
Abstract
ConnectionFactory object to create connections to the broker. The ConnectionFactory object is a JMS object that is provided along with the JMS broker. Each JMS provider has a unique ConnectionFactory object that uses properties specific to a particular JMS implementation.
ConnectionFactory object. Often the ConnectionFactory object is looked up through JNDI. However, the information needed depends on the JMS provider you are using.
ConnectionFactory objects for each of these platforms.
2.1. Using Apache ActiveMQ Connection Factories Copier lienLien copié sur presse-papiers!
Overview Copier lienLien copié sur presse-papiers!
InstallDir\lib folder.
Namespace Copier lienLien copié sur presse-papiers!
beans element:
xmlns:amqpool="http://jencks.org/amqpool/2.0"
xmlns:amqpool="http://jencks.org/amqpool/2.0"
Simple pool Copier lienLien copié sur presse-papiers!
amqpool:pool element. The attributes used to configure the simple pooled connection factory are described in Table 2.1, “Attributes for Configuring the Simple AMQPool Connection Factory”.
Example 2.1. Configuring a Simple AMQPool Connection Factory
XA pool Copier lienLien copié sur presse-papiers!
amqpool:xa-pool element. The attributes used to configure the XA pooled connection factory are described in Table 2.2, “Attributes for Configuring the XA AMQPool Connection Factory”.
Example 2.2. Configuring an XA AMQPool Connection Factory
JCA pool Copier lienLien copié sur presse-papiers!
amqpool:jca-pool element. The attributes used to configure the JCA pooled connection factory are described in Table 2.3, “Attributes for Configuring the JCA AMQPool Connection Factory”.
Example 2.3. Configuring a JCA AMQPool Connection Factory