| 1 |
<?xml version="1.0"?> |
| 2 |
|
| 3 |
<!-- |
| 4 |
Copyright Bank of America, N.A., Barclays Bank PLC, Cisco Systems, Credit |
| 5 |
Suisse, Deutsche Boerse, Envoy Technologies Inc., Goldman Sachs, HCL |
| 6 |
Technologies Ltd, IIT Software GmbH, iMatix Corporation, INETCO Systems Limited, |
| 7 |
Informatica Corporation, JPMorgan Chase & Co., Kaazing Corporation, N.A, |
| 8 |
Microsoft Corporation, my-Channels, Novell, Progress Software, Red Hat Inc., |
| 9 |
Software AG, Solace Systems Inc., StormMQ Ltd., Tervela Inc., TWIST Process |
| 10 |
Innovations Ltd, VMware, Inc., and WS02 Inc. 2006-2011. All rights reserved. |
| 11 |
|
| 12 |
Redistribution and use in source and binary forms, with or without |
| 13 |
modification, are permitted provided that the following conditions |
| 14 |
are met: |
| 15 |
1. Redistributions of source code must retain the above copyright |
| 16 |
notice, this list of conditions and the following disclaimer. |
| 17 |
2. Redistributions in binary form must reproduce the above copyright |
| 18 |
notice, this list of conditions and the following disclaimer in the |
| 19 |
documentation and/or other materials provided with the distribution. |
| 20 |
3. The name of the author may not be used to endorse or promote products |
| 21 |
derived from this software without specific prior written permission. |
| 22 |
|
| 23 |
THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR |
| 24 |
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
| 25 |
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. |
| 26 |
IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, |
| 27 |
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT |
| 28 |
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 29 |
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 30 |
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 31 |
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
| 32 |
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 33 |
--> |
| 34 |
|
| 35 |
<amqp name="transactions" xmlns="http://www.amqp.org/schema/amqp.xsd"> |
| 36 |
<section name="coordination"> |
| 37 |
<type name="coordinator" class="composite" source="list" provides="target"> |
| 38 |
<descriptor name="amqp:coordinator:list" code="0x00000000:0x00000030"/> |
| 39 |
<field name="capabilities" type="symbol" requires="txn-capability" multiple="true"/> |
| 40 |
</type> |
| 41 |
<type name="declare" class="composite" source="list"> |
| 42 |
<descriptor name="amqp:declare:list" code="0x00000000:0x00000031"/> |
| 43 |
<field name="global-id" type="*" requires="global-tx-id"/> |
| 44 |
</type> |
| 45 |
<type name="discharge" class="composite" source="list"> |
| 46 |
<descriptor name="amqp:discharge:list" code="0x00000000:0x00000032"/> |
| 47 |
<field name="txn-id" type="*" mandatory="true" requires="txn-id"/> |
| 48 |
<field name="fail" type="boolean"/> |
| 49 |
</type> |
| 50 |
<type name="transaction-id" class="restricted" source="binary" provides="txn-id"/> |
| 51 |
<type name="declared" class="composite" source="list" provides="delivery-state, outcome"> |
| 52 |
<descriptor name="amqp:declared:list" code="0x00000000:0x00000033"/> |
| 53 |
<field name="txn-id" type="*" mandatory="true" requires="txn-id"/> |
| 54 |
</type> |
| 55 |
<type name="transactional-state" class="composite" source="list" provides="delivery-state"> |
| 56 |
<descriptor name="amqp:transactional-state:list" code="0x00000000:0x00000034"/> |
| 57 |
<field name="txn-id" type="*" mandatory="true" requires="txn-id"/> |
| 58 |
<field name="outcome" type="*" requires="outcome"/> |
| 59 |
</type> |
| 60 |
<type name="txn-capability" class="restricted" source="symbol" provides="txn-capability"> |
| 61 |
<choice name="local-transactions" value="amqp:local-transactions"/> |
| 62 |
<choice name="distributed-transactions" value="amqp:distributed-transactions"/> |
| 63 |
<choice name="promotable-transactions" value="amqp:promotable-transactions"/> |
| 64 |
<choice name="multi-txns-per-ssn" value="amqp:multi-txns-per-ssn"/> |
| 65 |
<choice name="multi-ssns-per-txn" value="amqp:multi-ssns-per-txn"/> |
| 66 |
</type> |
| 67 |
<type name="transaction-error" class="restricted" source="symbol" provides="error-condition"> |
| 68 |
<choice name="unknown-id" value="amqp:transaction:unknown-id"/> |
| 69 |
<choice name="transaction-rollback" value="amqp:transaction:rollback"/> |
| 70 |
<choice name="transaction-timeout" value="amqp:transaction:timeout"/> |
| 71 |
</type> |
| 72 |
</section> |
| 73 |
</amqp> |