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 specified object that is provided along with the JMS broker. Each JMS provider has a unique ConnectionFactory
object that uses properties that are 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, and BEA's WebLogic®. 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.