118 Using IBM WebSphere Message Broker as an ESB with WebSphere Process Server
The JMS transport nodes in WebSphere Message Broker offer different levels of
transactional support, which can be configured as a property of the node
instance depending on your particular requirements:
? Non-transacted
Messages passing through the flow are not part of any transaction. This
setting best suits non-persistent messages where high throughput is a
requirement.
? Local transactions
The individual nodes can be enabled for local transactions, which means that
each node uses a transacted JMS session to their JMS provider, so that the
messages are sent and received as part of individual transactions.
? Global transactions (XA transactions)
JMS destinations that supply messages to a JMSInput node, or receive
messages from a JMSOutput node, can be coordinated as part of a message
flow global transaction. Therefore, the whole operation that is performed by
the flow can be contained in a transaction, so that all or none of the
processing takes place, depending on the outcome of the transaction. Global
transactions are available to any JMS provider that conforms to the JMS 1.1
Useful terms:
Transaction manager
The person who coordinates the transaction that controls a
global unit of work. Must be able to communicate with all
participants within that unit of work.
Resource manager
The participants within a global unit of work. Owns and
manages resources that can be accessed and updated by
applications. Such examples are a WebSphere MQ queue
manager whose resources are its queues or a DB2 database
whose resources are its tables.
Unit of work When an application updates the resources of one or more
resource managers, it is often vital that all updates complete
successfully as a group or none of them complete. Updates
that complete this way are said to occur within a unit of work or
transaction.
Syncpoint coordinator
The computer subsystem that manages units of work. The
point in time when all updates within a unit of work are either
committed or backed out is called a
sync point.