# US 2014/0157276 A1 · Distributed transaction routing

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2014/0157276 A1
- Document ID: US20140157276A1
- Status: Published application
- Kind: A1
- Application number: 14/073,989
- Filed: 2013-11-07
- Published: 2014-06-05
- Earliest claimed: 2012-12-05
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Andrew N. Smithson
- Web page: https://patentgrep.com/patent/US20140157276A1

## CPC

- G06F 9/466: {Transaction processing}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Embodiments relate to routing a distributed transaction. An aspect includes receiving and storing distributed transaction initiation information from a transaction manager. Another aspect includes sending an okay message to the transaction manager. Another aspect includes receiving a distributed transaction having at least one function type from the transaction manager. Another aspect includes determining a resource manager for the distributed transaction based on the function type of the distributed transaction. Another aspect includes sending, based on the resource manager being ready, the distributed transaction to the determined resource manager.

## Claims

### Claim 1

A system for routing a distributed transaction comprising:
a first buffer for receiving and storing distributed transaction initiation information from a transaction manager;
a second buffer for receiving a distributed transaction having at least one function type from the transaction manager; and
a transaction engine for sending an okay message to the transaction manager on receipt of transaction initiation information, for determining a resource manager for the distributed transaction based on the function type of the distributed transaction, and for sending, based on the resource manager being ready, the distributed transaction to the determined resource manager.

### Claim 2 (depends on 1)

The system according to claim 1, wherein the transaction engine is configured to determine that the resource manager is ready by sending the distributed transaction initiation information to the resource manager and waiting for a corresponding okay message.

### Claim 3 (depends on 1)

The system according to claim 1, wherein the transaction engine is configured to, based on the resource manager being ready, forwarding related transaction messages from the transaction manager to the resource manager, and forwarding related transaction messages from the resource manager to the transaction manager.

### Claim 4 (depends on 1)

The system according to claim 1, wherein the distributed transaction system uses extended architecture (XA) protocol.

### Claim 5 (depends on 1)

The system according to claim 1, wherein initiation information for the distributed transaction comprises an XA_Start transaction.

### Claim 6 (depends on 1)

The system according to claim 1, further comprising determining a resource route for a global transaction based on availability of an allocated resources for a function type of the global transaction.

### Claim 7

A method for routing a distributed transaction comprising:
receiving and storing distributed transaction initiation information from a transaction manager;
sending an okay message to the transaction manager;
receiving a distributed transaction having at least one function type from the transaction manager;
determining a resource manager for the distributed transaction based on the function type of the distributed transaction; and
sending, based on the resource manager being ready, the distributed transaction to the determined resource manager.

### Claim 8 (depends on 7)

The method according to claim 7, further comprising determining that on the resource manager being ready by sending the distributed transaction initiation information to the resource manager and waiting for an okay message.

### Claim 9 (depends on 7)

The method according to claim 7, further comprising, based on the resource manager being ready, forwarding related transaction messages from the transaction manager to the resource manager, and forwarding related transaction messages from the resource manager to the transaction manager.

### Claim 10 (depends on 7)

The method according to claim 7, wherein the distributed transaction uses extended architecture (XA) protocol.

### Claim 11 (depends on 10)

The method according to claim 10, wherein the initiation information for the distributed transaction comprises a XA_Start transaction.

### Claim 12 (depends on 7)

The method according to claim 7, further comprising determining a resource route for a global transaction based on availability of an allocated resources for a function type of the global transaction.

### Claim 13

A computer program product for routing a distributed transaction, the computer program product comprising a computer readable medium having computer-readable program code embodied therewith, which when executed by a computer processor, causes the computer processor to implement:
receiving and storing distributed transaction initiation information from a transaction manager;
sending an okay message to the transaction manager;
receiving a distributed transaction having at least one function type from the transaction manager;
determining a resource manager for the distributed transaction based on the function type of the distributed transaction; and
sending, based on the resource manager being ready, the distributed transaction to the determined resource manager.

### Claim 14 (depends on 13)

The computer program product according to claim 13, further comprising determining that on the resource manager being ready by sending the distributed transaction initiation information to the resource manager and waiting for an okay message.

### Claim 15 (depends on 13)

The computer program product according to claim 13, further comprising, based on the resource manager being ready, forwarding related transaction messages from the transaction manager to the resource manager, and forwarding related transaction messages from the resource manager to the transaction manager.

### Claim 16 (depends on 13)

The computer program product according to claim 13, wherein the distributed transaction uses extended architecture (XA) protocol.

### Claim 17 (depends on 16)

The computer program product according to claim 16, wherein the initiation information for the distributed transaction comprises a XA_Start transaction.

### Claim 18 (depends on 13)

The computer program product according to claim 13, further comprising determining a resource route for a global transaction based on availability of an allocated resources for a function type of the global transaction.
