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.Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
Chapter 14. 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.
14.1. Using Apache ActiveMQ Connection Factories Link kopierenLink in die Zwischenablage kopiert!
Overview Link kopierenLink in die Zwischenablage kopiert!
InstallDir\lib
folder.
Namespace Link kopierenLink in die Zwischenablage kopiert!
beans
element:
xmlns:amqpool="http://jencks.org/amqpool/2.0"
xmlns:amqpool="http://jencks.org/amqpool/2.0"
Simple pool Link kopierenLink in die Zwischenablage kopiert!
amqpool:pool
element. The attributes used to configure the simple pooled connection factory are described in Table 14.1, “Attributes for Configuring the Simple AMQPool Connection Factory”.
Example 14.1. Configuring a Simple AMQPool Connection Factory
XA pool Link kopierenLink in die Zwischenablage kopiert!
amqpool:xa-pool
element. The attributes used to configure the XA pooled connection factory are described in Table 14.2, “Attributes for Configuring the XA AMQPool Connection Factory”.
Example 14.2. Configuring an XA AMQPool Connection Factory
JCA pool Link kopierenLink in die Zwischenablage kopiert!
amqpool:jca-pool
element. The attributes used to configure the JCA pooled connection factory are described in Table 14.3, “Attributes for Configuring the JCA AMQPool Connection Factory”.
Example 14.3. Configuring a JCA AMQPool Connection Factory