Skip to content

Symfony Messenger transport for input/output communication with external console processes

License

Notifications You must be signed in to change notification settings

gri3li/symfony-messenger-io-transport

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Symfony Messenger Stdio Transport

This package provides transport for the Symfony Messenger 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:

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.

About

Symfony Messenger transport for input/output communication with external console processes

Topics

Resources

License

Stars

Watchers

Forks

Languages