Componette

Componette

contributte

contributte / rabbitmq v7.0.1

๐Ÿฐ RabbitMQ (AMQP, STOMP, MQTT) using BunnyPHP for Nette Framework (@nette).

download-cloud-line composer require gamee/nette-rabbitmq

Website ๐Ÿš€ contributte.org | Contact ๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป f3l1x.io | Twitter ๐Ÿฆ @contributte

Usage

To install the latest version of contributte/rabbitmq use Composer.

$ composer require contributte/rabbitmq

Documentation

For details on how to use this package, check out our documentation.

Versions

State Version Branch Nette PHP
dev ^9.0.0 master 2.4 / 3.0+ >=7.4
stable ^8.0.0 master 3.0+ >=7.4

Development

See how to contribute to this package.

This package is currently maintaining by these authors.


Consider to support contributte development team. Also thank you for using this package.

  • v7.0.1 v7.0.1

    Bump!

    • The required PHP version was fixed in composer.json (@Stehos)

    Diff: v7.0.0...v7.0.1

  • v7.0.0 v7.0.0

    Bump!

    • Added lazy connect, Fixed php version (@slischka)

    BC Breaks:

    • Removed Connection::getBunnyClient()

    Diff: v6.0.0...v7.0.0

  • v6.0.0 v6.0.0

    Bump!

    • Gamee -> Contributte
  • v5.0.2 v5.0.2

    • ConsumerCommand: make code simpler
  • v4.2.0 v4.2.0

    • Allow skiping argument secondsToLive so consumer can run indefinitely (@dakorpar)
  • v5.0.1 v5.0.1

    • RabbitMQExtension: added console.command tags
  • v5.0.0 v5.0.0

    • New gamee/php-code-checker-rules + php 7.4 typed class properties
  • v4.1.0 v4.1.0

  • v4.0.0 v4.0.0

    phpstan, nette 3.0 support

  • v3.3.0 v3.3.0

    Changes:

    • Changed self::COMMAND_NAME in consule commands to self::$defaultName (@michalhlavka)
  • v3.2.0 v3.2.0

    • Added possibility to reject message and stop consuming, thanks @her-ur
  • v3.0.0 v3.0.0

    Added:

    • CLI command to declare queues/exchanges by config file, thanks @31vi5

    BC Breaks:

    • queues and exchanges are no longer declared automatically (default parameter autoCreate is false now)
  • v2.1.0 v2.1.0

    • New option for disabling queue/exchange auto creation, thanks @dada-amater
    • New option for enabling persistent connections, thanks @dada-amater
  • v2.0.0 Fixed exchange message publishing

    Fixed publishing of messages to exchanges.

    Exchanges now accept connection parameter.

    Breaking changes:

    • Producer::publish() method of class now accepts third parameter $routingKey, which allows to propagate messages correctly through exchanges.
    • Exchanges now publish messages in a different way. If you relied on the old (incorrect) way, you will probably have to adjust your code as the old version published one messages for each bound queue with a routing key that was defined in config for the queue binding (instead of message's routing key) basically rendering all exchanges as type fanout in better case, in worse case, if two or more queues shared a routing key, they would have received the message N times where N is the number of queues bound with the same key.
  • v1.3.2 v1.3.2

    • Allow Symfony 4 and bunny 0.3||0.4, thanks @pavelkovar
  • v1.3.1 v1.3.1

    • Added config options: heartbeat, timeout
  • v1.3.0 v1.3.0

    • Added option to specify qos (prefetchSize, prefetchCount)
  • v1.2.9 v1.2.9

    • Functionality and checks related to adding producers data to ProducersDataBag move to ProducersDataBag
  • v1.2.5 v1.2.5

    Enhancements:

    • Added support for ContentType and DeliveryMode properties from producer config
    • Improve StaticConsumer behavior when queue is empty
    • DI extension is loaded using loadConfiguration method

    Thanks, @pavelkovar !

  • v1.2.4 v1.2.4

    Abandon kdyby/console (optional)

    • No need to use strictly kdyby/console anymore. Could use kdyby/console or for example contributte/console :)
    • require symfony/console in composer.json
  • v1.2.3 v1.2.3

    Extension fix

    • ConnectionsHelper: default port fix (string -> int)
  • v1.2.2 v1.2.2

    Consumer.php (Channel::reject()) fix

    • Consumer fix: reject message from queue and do not requeue when returning IConsumer::MESSAGE_REJECT
  • v1.2.0 v1.2.0

    kdyby/console v2.7.x support

  • v1.1.0 v1.1.0

    First official release on GitHub

    • Added license (MIT)
    • Added proper README
    • StaticConsumer - added ability to consume just particular amount of messages
bar-chart-fill

Statistics

download-cloud-fill
72560
star-fill
20
bug-fill
4
flashlight-fill
68d
price-tag-2-line

Badges

guide-fill

Dependencies

php (>=7.1)
bunny/bunny (^0.2.4 || ^0.3 || ^0.4)
symfony/console (~3.3 || ^4.0)
Componette Componette felix@nette.org