Download the PHP package coka/semaphore-messenger without Composer
On this page you can find all versions of the php package coka/semaphore-messenger. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download coka/semaphore-messenger
More information about coka/semaphore-messenger
Files in coka/semaphore-messenger
Package semaphore-messenger
Short Description The Semaphore Transport allows you to send and receive messages on System V message queues.
License MIT
Informations about the package semaphore-messenger
Semaphore Messenger Transport
The Semaphore Transport allows you to send and receive messages on System V message queues. The semaphore transport configuration looks like this :
A number of options can be configured via the DSN or via the options key under the transport in messenger.yaml:
Option | Description | Default |
---|---|---|
path | Pathname to create System V IPC key | |
project | Project identifier to create System V IPC key | M |
message_type | The type of message to send | 1 |
message_max_size | The maximum size in bytes of a message if the message is larger than this size, an exception will be thrown | 131072 |
auto_setup | Enable or not the auto-setup of queue | true |
This extension is not available on Windows platforms.
Installation
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.
Configuration
You can register the semaphore transport factory to be able to use it via a DSN in the Symfony application.
Register the Semaphore Transport Factory
Use your Transport
Within the framework.messenger.transports.*
configuration, create your named transport using your own DSN:
Copyright and License
The coka/semaphore-messenger library is copyright © Baidai Cedrick Oka https://github.com/CedrickOka and licensed for use under the MIT License (MIT). Please see LICENSE for more information.