The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

AnyEvent::RabbitMQ::Fork::Channel - Facade over AnyEvent::RabbitMQ::Channel

SYNOPSIS

    my $ch = $rf->open_channel;
    $ch->declare_exchange(exchange => 'test_exchange');

DESCRIPTION

This module provides an API to AnyEvent::RabbitMQ::Channel that is running in a fork maintained by AnyEvent::RabbitMQ::Fork. Note that this is a facade and not a subclass. It does however attempt to honor the public interface of the real thing.

There are some undocumented features of the real module that are not implemented here. I leave that as an excercise for the reader to discover. At such a time as those features appear to become formalized, I will expose them here.

ATTRIBUTES

id Numerical ID assigned by the connection object and used in coordination with the server.
is_open Indicator if this channel is open for use.
is_active Indicator if the server has sent a Channel.Flow frame as a form of throttle control. Will be true if that is the case.
is_confirm Indicator if the channel is in confirm mode, meaning the server will Ack/Nack/Return every message published.

METHODS

Pretty well enumerated in AnyEvent::RabbitMQ::Channel.

AUTHOR

William Cox <mydimension@gmail.com>

COPYRIGHT

Copyright (c) 2014, the above named author(s).

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.