Code Monkey home page Code Monkey logo

phpamqplib-extension-for-hhvm's Introduction

phpamqplib-extension-for-hhvm

phpamqplib extension for hhvm

##file list:(add file list to system/php.txt, add amqp dir to system/php/)## hphp/system/php/amqp/Exception/AMQPExceptionInterface.php hphp/system/php/amqp/Exception/AMQPBasicCancelException.php hphp/system/php/amqp/Exception/AMQPTimeoutException.php hphp/system/php/amqp/Exception/AMQPRuntimeException.php hphp/system/php/amqp/Exception/AMQPOutOfBoundsException.php hphp/system/php/amqp/Exception/AMQPIOException.php hphp/system/php/amqp/Exception/AMQPInvalidArgumentException.php hphp/system/php/amqp/Helper/MiscHelper.php hphp/system/php/amqp/Wire/AMQPWriter.php hphp/system/php/amqp/Wire/Constants080.php hphp/system/php/amqp/Wire/Constants091.php hphp/system/php/amqp/Wire/AMQPDecimal.php hphp/system/php/amqp/Wire/IO/AbstractIO.php hphp/system/php/amqp/Wire/IO/SocketIO.php hphp/system/php/amqp/Wire/IO/StreamIO.php hphp/system/php/amqp/Helper/Protocol/MethodMap080.php hphp/system/php/amqp/Helper/Protocol/MethodMap091.php hphp/system/php/amqp/Helper/Protocol/Protocol080.php hphp/system/php/amqp/Helper/Protocol/Protocol091.php hphp/system/php/amqp/Helper/Protocol/Wait080.php hphp/system/php/amqp/Helper/Protocol/Wait091.php hphp/system/php/amqp/Wire/AMQPReader.php hphp/system/php/amqp/Wire/GenericContent.php hphp/system/php/amqp/Message/AMQPMessage.php hphp/system/php/amqp/Connection/AMQPStreamConnection.php hphp/system/php/amqp/Connection/AMQPConnection.php hphp/system/php/amqp/Connection/AMQPSSLConnection.php hphp/system/php/amqp/Connection/AMQPLazyConnection.php hphp/system/php/amqp/Channel/AbstractChannel.php hphp/system/php/amqp/Exception/AMQPProtocolException.php hphp/system/php/amqp/Exception/AMQPProtocolChannelException.php hphp/system/php/amqp/Channel/AMQPChannel.php hphp/system/php/amqp/Exception/AMQPProtocolConnectionException.php hphp/system/php/amqp/Connection/AbstractConnection.php hphp/system/php/amqp/Connection/AMQPSocketConnection.php hphp/system/php/amqp/Exception/AMQPException.php hphp/system/php/amqp/Exception/AMQPChannelException.php hphp/system/php/amqp/Exception/AMQPConnectionException.php

##description:## source code by https://github.com/videlalvaro/php-amqplib

##demo:## With RabbitMQ running open two Terminals and on the first one execute the following commands to start the consumer:

$ cd php-amqplib/demo

$ php amqp_consumer.php

Then on the other Terminal do:

$ cd php-amqplib/demo

$ php amqp_publisher.php some text to publish

You should see the message arriving to the process on the other Terminal

Then to stop the consumer, send to it the quit message:

$ php amqp_publisher.php quit

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.