When working with a JMS broker, a client application needs a 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.
When using the Fuse ESB JMS binding component, you must configure each service unit with the information it needs to
load a ConnectionFactory
object. Often the ConnectionFactory
object is looked up through JNDI. However, the information needed depends on the JMS provider you are using.
Commonly used JMS providers include Fuse Message Broker, Apache ActiveMQ, IBM's WebShere® MQ, BEA's
WebLogic®, and Progress Software's
SonicMQ®. Fuse Message Broker and Apache ActiveMQ can be configured using simple Spring XML. Other
JMS providers must be configured using either JNDI or using custom Spring beans. This chapter provides basic information for
configuring the ConnectionFactory
objects for each of these platforms.