summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMatthew Sackman <matthew@rabbitmq.com>2010-12-12 23:53:06 +0000
committerMatthew Sackman <matthew@rabbitmq.com>2010-12-12 23:53:06 +0000
commit15b8801f46667733c8fd6fcc0cf73cbe62ab1ad7 (patch)
treeafdf730080f804412cbbec0c97a1a21cbf82a920 /include
parent4e976be099370a99e90cc85bea9491ca0afd769a (diff)
downloadrabbitmq-server-git-15b8801f46667733c8fd6fcc0cf73cbe62ab1ad7.tar.gz
Alter the result of BQ:requeue so that it also returns the guids of the requeued messages. This makes it match the spec of ack closely and is more logical. Also, entirely coincidentally, happens to be necessary for HA...
Diffstat (limited to 'include')
-rw-r--r--include/rabbit_backing_queue_spec.hrl2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rabbit_backing_queue_spec.hrl b/include/rabbit_backing_queue_spec.hrl
index 0f831a7d3d..a330fe1e79 100644
--- a/include/rabbit_backing_queue_spec.hrl
+++ b/include/rabbit_backing_queue_spec.hrl
@@ -68,7 +68,7 @@
(rabbit_types:txn(), fun (() -> any()),
message_properties_transformer(), state()) -> {[ack()], state()}).
-spec(requeue/3 :: ([ack()], message_properties_transformer(), state())
- -> state()).
+ -> {[rabbit_guid:guid()], state()}).
-spec(len/1 :: (state()) -> non_neg_integer()).
-spec(is_empty/1 :: (state()) -> boolean()).
-spec(set_ram_duration_target/2 ::