|
1 | 1 | <?xml version="1.0"?>
|
2 | 2 | <!-- WARNING: Modified from the official 0-8 specification XML by
|
3 |
| - the addition of queue.unbind, queue.unbind-ok --> |
| 3 | + the addition of queue.unbind, queue.unbind-ok, |
| 4 | + confirm.select and confirm.select-ok --> |
4 | 5 | <!--
|
5 | 6 | Copyright Notice
|
6 | 7 | ================
|
@@ -2405,6 +2406,8 @@ localised reply text
|
2405 | 2406 | message.
|
2406 | 2407 | </doc>
|
2407 | 2408 | <chassis name = "server" implement = "MUST" />
|
| 2409 | + <chassis name="client" implement="MUST"/> |
| 2410 | + |
2408 | 2411 | <field name = "delivery tag" domain = "delivery tag" />
|
2409 | 2412 |
|
2410 | 2413 | <field name = "multiple" type = "bit">
|
@@ -3681,6 +3684,43 @@ confirm transaction mode
|
3681 | 3684 | <chassis name="client" implement="MUST"/>
|
3682 | 3685 | </method>
|
3683 | 3686 | </class>
|
| 3687 | + <class name="confirm" handler="channel" index="85"> |
| 3688 | + <method name="select" synchronous="1" index="10"> |
| 3689 | + select confirm mode (i.e. enable publisher acknowledgements) |
| 3690 | + <doc> |
| 3691 | + This method sets the channel to use publisher acknowledgements. |
| 3692 | + The client can only use this method on a non-transactional |
| 3693 | + channel. |
| 3694 | + </doc> |
| 3695 | + <chassis name="server" implement="MUST"/> |
| 3696 | + <response name="select-ok"/> |
| 3697 | + <field name = "nowait" type = "bit"> |
| 3698 | + do not send a reply method |
| 3699 | + <doc> |
| 3700 | + If set, the server will not respond to the method. The client should |
| 3701 | + not wait for a reply method. If the server could not complete the |
| 3702 | + method it will raise a channel or connection exception. |
| 3703 | + </doc> |
| 3704 | + </field> |
| 3705 | + <field name = "multiple" type = "bit"> |
| 3706 | + acknowledge multiple messages |
| 3707 | + <doc> |
| 3708 | + If set to 1, the delivery tag in the returned acks is |
| 3709 | + treated as "up to and including", so that the server can |
| 3710 | + acknowledge multiple messages with a single method. If set |
| 3711 | + to zero, the delivery tag refers to a single message. |
| 3712 | + </doc> |
| 3713 | + </field> |
| 3714 | + </method> |
| 3715 | + <method name="select-ok" synchronous="1" index="11"> |
| 3716 | + acknowledge confirm mode |
| 3717 | + <doc> |
| 3718 | + This method confirms to the client that the channel was successfully |
| 3719 | + set to use publisher acknowledgements. |
| 3720 | + </doc> |
| 3721 | + <chassis name="client" implement="MUST"/> |
| 3722 | + </method> |
| 3723 | + </class> |
3684 | 3724 | <class name="tunnel" handler="tunnel" index="110">
|
3685 | 3725 | <!--
|
3686 | 3726 | ======================================================
|
|
0 commit comments