This is the Maleficarum RabbitMQ component implementation.
- Added support for sending amqp messages with headers
- Added an option to gracefully remove a connection object from the connection manager.
- bump php-amqplib version to 2.11
- added exchange name for addCommand|addCommands|addRawMessage methods
- added support for testMode command parameter
- When attempting to create a connection there will be a double retry from now on. (Exactly 3 attempts will be made to establish the connection).
- Increased connection timeout parameters from 3s to 10s.
- Updated component to work with Maleficarum\Ioc 3.X and Maleficarum\Command 3.X.
- Bumped PHP version requirement to 7.2+.
- When attempting to create a connection there will be a double retry from now on. (Exactly 3 attempts will be made to establish the connection).
- Increased connection timeout parameters from 3s to 10s.
- Added the possibility to define connection vhost setting via the connection constructor.
- Incorrect validation for port value when building a new connection object.
- Added a missing invocation that adds the manager object as a default Maleficarum command router in the default initializer logic.
- Added a connection manager class - it should be used to access rabbit mq connections in a seemless way. Direct access to the connection is still available but should be avoided.
- Added support for connection sources with defined priority.
- Added support for transient connections - automatically closed after each use. Transient connections cannot be used as command sources.
- When attempting to create a connection there will be a double retry from now on. (Exactly 3 attempts will be made to establish the connection).
- Increased connection timeout parameters from 3s to 10s.
- Make use of nullable types provided in PHP 7.1 (http://php.net/manual/en/migration71.new-features.php)
- Fix tests
- Cast port to integer
- Cast port to integer
- Move delcare before namespace delcaration
- Changed internal structure.
- Added default package initializer.
- Fix addRawMessage method by passing AMQPMessage object instead of string
- Replace deprecated AMQPConnection with AMQPStreamConnection
- Add connection parameters to constructor
- Fix tests
- Add method for raw message push
- Remove config component
- Fix tests
- Add tests
- Changed namespace of command component
- Add return and argument types declaration
- This was an initial release based on the code written by pharaun13 and added to the repo by me