Componette

Componette

contributte

contributte / rabbitmq v9.3.0

🐰 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.

  • v9.3.0 v9.3.0

    Bumped!

    Diff: v9.2.0...v9.3.0

    Changes:

    • fix: issue #64 - undefined array key 'routingKeys' leads to TypeError in unpacking operator (only arrays can be unpacked) (#65) [4435d36] (@TomPavelec)
  • v9.2.0 v9.2.0

    Bumped!

    Diff: v9.1.0...v9.2.0

    Changes:

  • v9.1.0 v9.1.0

    Bumped! 🀩

    Diff: v9.0.0...v9.1.0

    Changes:

  • v9.0.0 v9.0.0

    Bumped!

    Diff: v8.2.0...v9.0.0

    Changes:

    • Add sync disconnect to the Bunny\Client so we can disconnect synced without Promises. The main reason for this is, that client itself is sync (async is in async/client.php) and if connection is lost during app, it will end fatal error with exception, that can`t be catch. This will put the disconnect back to the sync state, so no more promise and no mo trouble if connection is dropped. (#47) [ae30026] (@bckp)
    • Support for bulk consumer (#45), co-authored-by: Petr Kučera kontakt@kucerapetr.cz [ab8a81a] (@bckp)
  • v8.2.0 v8.2.0

    Bumped!

    Diff: v8.1.0...v8.2.0

    Changes:

    • Update BarPanel.php, Added compatibility with Tracy 2.6 [6a38558] (@bckp)
    • Support for heartbeat in Producer (#46), Support for heartbeat in Producer [8ad2bae] (@bckp)
    • Support for Nette 2.4 (#34)
    • Readme: versions [9ca3e87] (@f3l1x)
  • v8.1.0 v8.1.0

    Bumped! πŸ’β€β™€οΈ

    Diff: v8.0.2...v8.1.0

    Changes:

  • v8.0.2 v8.0.2

    Bumped!

    Diff: v8.0.1...v8.0.2

    Changes:

    • rename callbacks, remove "on" prefix because it causes problems with kdyby/events (#35) [bd5c5bb] (@dakorpar)
  • v8.0.1 v8.0.1

    Bumped!

    Diff: v8.0.0...v8.0.1

    Changes:

  • v8.0.0 v8.0.0

    Bumped! 😢

    Diff: v7.0.1...v8.0.0

    Changes:

  • v1.2.10 v1.2.10

    Bumped! βœ”οΈ

    Diff: v1.2.1...v1.2.10

    Changes:

    • Consumer fix: reject message from queue and do not requeue when returning IConsumer::MESSAGE_REJECT [d07c9a0] (@paveljanda)
    • ConnectionsHelper: default port fix (string -> int) [6966671] (@paveljanda)
    • No need to use kdyby anymore. Could use for example contributte/console :) But require symfony/console in composer.json [eec489d] (@paveljanda)
    • Coding style fixes [886d4b2] (@paveljanda)
    • Improve StaticConsumer behavior when queue is empty. [c0a24d2] (@pavelkovar)
    • Added support for ContentType and DeliveryMode properties from producer config [db0b192] (@pavelkovar)
    • Merge consumeForSpecifiedTime and consumeSpecifiedAmountOfMessages methods since they are almost same and maxSeconds and maxMessages properties could be used together. [66515fd] (@pavelkovar)
    • Properties should use dash not underscore. [6cb0361] (@pavelkovar)
    • Extension should be loaded through loadConfiguration method. [77f0044] (@pavelkovar)
    • Merge pull request #6 from pavelkovar/di, DI extension should be loaded using loadConfiguration method [aaea80d] (@paveljanda)
    • Merge pull request #4 from pavelkovar/producer_headers, Added support for ContentType and DeliveryMode properties from producer config [7ec556b] (@paveljanda)
    • Merge pull request #3 from pavelkovar/improve_static_consumer, Improve StaticConsumer behavior when queue is empty [20091ae] (@paveljanda)
    • Add note about creating queue after publishing first message [7554474] (@pilec)
    • Merge pull request #7 from pilec/add-note-to-readme, Add note about creating queue after publishing first message [413c502] (@paveljanda)
    • Using Nette\DI\ServiceDefinition::setType() instead of ::setClass() [b170c14] (@paveljanda)
    • ConnectionFactory: force type casting port to be an integer [9c3f8bc] (@paveljanda)
    • Use Nette\DI\ServiceDefinition::setFactory() instead of ::setType() [9981520] (@paveljanda)
    • Functionality and checks related to adding producers data to ProducersDataBag move to ProducersDataBag [f5a678d] (@paveljanda)
    • QueuesDataBag: added ability to add queue data to QueuesDataBag on the fly [3bf1e94] (@paveljanda)
  • v1.3.3 v1.3.3

    Bumped! 🏿

    Diff: v1.3.2...v1.3.3

    Changes:

    • Connection: Do not create a new channel each time publishing a mesage [9dddda2] (@paveljanda)
  • v1.4.2 v1.4.2

    Bumped! β˜‘οΈ

    Diff: v1.3.3...v1.4.2

    Changes:

  • v3.1.0 v3.1.0

    Bumped! πŸ‘‘

    Diff: v3.0.0...v3.1.0

    Changes:

    • Added the option to create add exchanges to ExchangesDataBag [ec1cf2a] (@31vi5)
    • Merge pull request #17 from gameeapp/allow-to-add-exchanges, Added the option to create add exchanges to ExchangesDataBag [cf0b3c9] (@31vi5)
  • 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)
bar-chart-fill

Statistics

download-cloud-fill
76524
star-fill
25
bug-fill
5
flashlight-fill
156d
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