Messaging Bridge: Configuration: Transactions
Configuration Options Related Tasks Related Topics
A messaging bridge instance provides transaction semantics when the QOS is Exactly-once. This envelops a received message and sends it within a user transaction (XA/JTA).
Use this page to define the transaction configuration for this messaging bridge instance.
Configuration Options
Name Description Transaction Timeout The amount of time, in seconds, that the transaction manager waits for each transaction before timing it out.
Transaction timeouts are used when the QOS (quality of service) for a messaging bridge instance requires transactions.
If a bridge is configured with Exactly-once QOS, the receiving and sending is completed in one transaction.
MBean Attribute:
MessagingBridgeMBean.TransactionTimeout
Minimum value:
0
Maximum value:
2147483647
Batch Size The number of messages that are processed within one transaction.
Batch Size
only applies to a messaging bridge instance forwarding messages in synchronous mode and has a QOS (quality of service) that requires two-phase transactions.MBean Attribute:
MessagingBridgeMBean.BatchSize
Minimum value:
0
Batch Interval The maximum amount of time, in milliseconds, that a messaging bridge instance waits before sending a batch of messages in one transaction, regardless of whether the
Batch Size
has been reached or not.
Only applies to a messaging bridge instance forwarding messages in synchronous mode and has a QOS (quality of service) that requires two-phase transactions.
The default value of -1 indicates that the bridge instance waits until the number of messages reaches the
Batch Size
before it completes a transaction.MBean Attribute:
MessagingBridgeMBean.BatchInterval