clkao / anymq Goto Github PK
View Code? Open in Web Editor NEWSimple message queue based on AnyEvent
Simple message queue based on AnyEvent
NAME AnyMQ - Non-blocking message queue system based on AnyEvent SYNOPSIS use AnyMQ; my $mq = AnyMQ->topic('Foo'); # gets an AnyMQ::Topic object $mq->publish({ message => 'Hello world'}); # bind to external message queue servers using traits. # my $bus = AnyMQ->new_with_traits(traits => ['AMQP'], # host => 'localhost', # port => 5672, # user => 'guest', # pass => 'guest', # vhost => '/', # exchange => ''); # my $mq = $bus->topic('foo') $mq->publish({ message => 'Hello world'}); # $bus->new_listener('client_id', $mq); DESCRIPTION AnyMQ is message queue system based on AnyEvent. It can store all messages in memory or use external message queue servers. Messages are published to AnyMQ::Topic, and consumed with AnyMQ::Queue. METHODS new Returns a new AnyMQ object, which is a message bus that can associate with arbitrary AnyMQ::Topic and consumed by AnyMQ::Queue topic($name or %opt) Returns a AnyMQ::Topic with given name or constructor options %opt. If called as class method, the default bus will be used. Topics not known to the current AnyMQ bus will be created. new_topic($name or %opt) Creates and returns a new AnyMQ::Topic object with given name or constructor options %opt. This should not be called directly. new_listener(@topic) Returns a new AnyMQ::Queue object, and subscribes to the optional given topic. If called as class method, the default bus will be used. AUTHORS Tatsuhiko Miyagawa Chia-liang Kao LICENSE This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. SEE ALSO AnyMQ::Topic, AnyMQ::Queue
since Any::Moose is deprecated
Test::More wants Test::Builder::Module 0.99.
AnyMQ brings its own Test::Builder::Module 0.98 in inc/
As a result tests fail because the older version is the first in @inc.
See also clkao/Web-Hippie#11
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.