Skip to content
This repository has been archived by the owner on May 23, 2018. It is now read-only.

High level APIs #11

Open
emarcotte opened this issue Apr 6, 2013 · 0 comments
Open

High level APIs #11

emarcotte opened this issue Apr 6, 2013 · 0 comments
Assignees

Comments

@emarcotte
Copy link
Contributor

I'd like to provide a high level API for talking to rabbit.

Consider:
my $channel = $broker->channel_open();
my $sub = $channel->subscribe(
consume flags here
);
$sub->handler(sub {
my ( $message ) = @_;
# do something with $message
});
...
$sub->recv();
...
$sub->cancel();

I'd like to be able to tie into various callbacks through a API that looks simpler than the raw AMQP method calls.

@ghost ghost assigned emarcotte Apr 6, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant