Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gri3li/symfony-messenger-io-transport
Symfony Messenger transport for input/output communication with external console processes
https://github.com/gri3li/symfony-messenger-io-transport
symfony-messenger-transport
Last synced: 14 days ago
JSON representation
Symfony Messenger transport for input/output communication with external console processes
- Host: GitHub
- URL: https://github.com/gri3li/symfony-messenger-io-transport
- Owner: gri3li
- License: mit
- Created: 2024-09-29T16:02:44.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-09-29T16:10:08.000Z (3 months ago)
- Last Synced: 2024-11-07T08:43:48.848Z (2 months ago)
- Topics: symfony-messenger-transport
- Language: PHP
- Homepage:
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Symfony Messenger Stdio Transport
=================================This package provides transport for
the [Symfony Messenger](https://symfony.com/doc/current/components/messenger.html) component, enabling integration of
external console processes into your microservice architecture. Messages are exchanged via input/output streams,
allowing seamless communication between Symfony Messenger and standalone processes that may not support standard Symfony
Messenger message formats.Installation
------------Install the package via Composer:
```bash
composer require gri3li/symfony-messenger-io-transport
```Usage
-----This transport is particularly useful when integrating microservices or third-party systems that do not natively support
Symfony Messenger message formats. It allows you to interface with external console processes while leveraging the
flexibility and power of the Symfony Messenger component.Since all messages will be serialized and deserialized as instances of `StdClass`, you will most likely need to provide
custom implementations of the interfaces:- `SendersLocatorInterface`: Defines which sender will be used for dispatching a message.
- `HandlersLocatorInterface`: Defines which handler will process the message.