Add touch_msg() API

Signed-off-by: Pedro Melo <melo@simplicidade.org>
This commit is contained in:
Pedro Melo
2014-07-20 17:40:13 +01:00
parent c7c6038397
commit 36c67c9586

View File

@@ -144,6 +144,15 @@ sub requeue_msg {
return;
}
sub touch_msg {
my ($self, $msg) = @_;
return unless my $hdl = $self->{handle};
$hdl->push_write("TOUCH $msg->{message_id}\012");
return;
}
sub nop {
my ($self, $n) = @_;
return unless my $hdl = $self->{handle};