定制 gri3li/symfony-messenger-io-transport 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

gri3li/symfony-messenger-io-transport

最新稳定版本:v1.0.0-rc

Composer 安装命令:

composer require gri3li/symfony-messenger-io-transport

包简介

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

README 文档

README

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.

统计信息

  • 总下载量: 1
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-09-29